diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 08:55:59 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 08:55:59 +0000 |
| commit | 91638c435076736ea1d6ac7f532a35523bd79f89 (patch) | |
| tree | 518018a1b72a92f63cf9ad72df91608edd49ffdc /views | |
| parent | 90431f971286dfad2dd2df1c213e432026860001 (diff) | |
Added popup window to view messages in profile page
Diffstat (limited to 'views')
| -rw-r--r-- | views/user_profile_alt.hbs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index 2270d76..30153d1 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -199,19 +199,20 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details"> </thead> <tbody> {{# each inbox }} - <a href="#" data-toggle="modal" data-target=".{{this.date}}{{this.sender}}"> <tr> - <td>{{ this.date }}</td> - <td>{{ this.subject }}</td> - <td>{{ this.sender }}</td> + <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> + {{ this.date }}</a></td> + <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> + {{ this.subject }}</a></td> + <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> + {{ this.sender }}</a></td> </tr> - </a> {{/each}} </tbody> </table> {{# each inbox}} - <article class="modal fade {{this.date}}{{this.sender}}"> + <article class="modal fade {{this.class}}"> <div class="modal-dialog"> <div class="modal-content"> @@ -287,4 +288,4 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details"> </div> </div> -</main>
\ No newline at end of file +</main> |
