Skip to content
Snippets Groups Projects
Commit 94c788a4 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Add user time to user info and switch icons

parent e764f97f
No related branches found
No related tags found
No related merge requests found
......@@ -47,3 +47,6 @@ Template.userInfo.helpers
selfVideoUrl: ->
return Session.get('selfVideoUrl')
userTime: ->
return moment().utcOffset(@utcOffset).format('HH:mm')
\ No newline at end of file
......@@ -36,10 +36,10 @@
<h3>{{username}}</h3>
{{#if isAdmin}}
<p>{{name}}</p>
{{#if utc}}<p><i class="icon-location"></i>UTC {{utc}}</p>{{/if}}
{{#if utc}}<p><i class="icon-clock"></i>{{userTime}} (UTC {{utc}})</p>{{/if}}
{{#each emails}} <p><i class="icon-mail"></i> {{address}}{{#if verified}}&nbsp;<i class="icon-ok"></i>{{/if}}</p> {{/each}}
{{#each phone}} <p><i class="icon-phone"></i> {{phoneNumber}}</p> {{/each}}
{{#if lastLogin}} <p><i class="icon-clock"></i> {{_ "Last_login"}}: {{lastLogin}}</p> {{/if}}
{{#if lastLogin}} <p><i class="icon-calendar"></i> {{_ "Last_login"}}: {{lastLogin}}</p> {{/if}}
{{#if services.facebook.id}} <p><i class="icon-facebook"></i><a href="{{services.facebook.link}}" target="_blank">{{services.facebook.name}}</a></p> {{/if}}
{{#if services.github.id}} <p><i class="icon-github-circled"></i><a href="https://www.github.com/{{services.github.username}}" target="_blank">{{services.github.username}}</a></p> {{/if}}
{{#if services.gitlab.id}} <p><i class="icon-gitlab"></i>{{services.gitlab.username}}</p> {{/if}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment