mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-15 22:21:32 -04:00
display mtime_age in webclient
This commit is contained in:
parent
4068339770
commit
207ef144c5
3 changed files with 33 additions and 10 deletions
|
@ -16,7 +16,9 @@
|
|||
<!-- FIXME: does allowing <wbr/> to be unescaped introduce HTML injections from user IDs and display names? -->
|
||||
<div class="userName" ng-bind-html="info.displayname || (name.substr(0, name.indexOf(':')) + '<wbr/>' + name.substr(name.indexOf(':'))) | to_trusted"></div>
|
||||
</td>
|
||||
<td class="userPresence" ng-class="info.presenceState === 'online' ? 'online' : (info.presenceState === 'unavailable' ? 'unavailable' : '')" />
|
||||
<td class="userPresence" ng-class="info.presenceState === 'online' ? 'online' : (info.presenceState === 'unavailable' ? 'unavailable' : '')">
|
||||
{{ info.mtime_age | duration }} {{ info.mtime_age ? "ago" : "" }}
|
||||
</td>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue