Commit 15a4ea72 authored by Ujvari Gergely's avatar Ujvari Gergely Committed by Randall Leeds

Adding permalink to timestamps

The fuzzytime directive's template has been modified to turn the timestamp into a link for the annotator's standalone page.

Fixes #1008
parent 172e3e9d
......@@ -376,7 +376,10 @@ fuzzytime = ['$filter', '$window', ($filter, $window) ->
require: '?ngModel'
restrict: 'E'
template: '{{ftime | date:mediumDate}}'
scope: true
template: (
'<a target="_blank" href="{{shared_link}}">{{ftime | date:mediumDate}}</a>'
)
]
streamviewer = [ ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment