projects
/
angular-drzb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added link to registration
[angular-drzb]
/
app
/
js
/
filters.js
diff --git
a/app/js/filters.js
b/app/js/filters.js
index
84624ac
..
b34d679
100644
(file)
--- a/
app/js/filters.js
+++ b/
app/js/filters.js
@@
-19,4
+19,10
@@
angular.module('myApp.filters', []).
return date.toString();
}
}
+ }).
+ filter('registration_url', function() {
+ return function(text) {
+ if ( ! text ) return '';
+ return '#/' + text.replace('.','/');
+ }
});