summaryrefslogtreecommitdiffstats
path: root/templates/contact.html
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-11-05 18:55:25 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-11-05 18:55:25 +0100
commit98cee330babd893531ee5cf0ab1a26ae712a1cb9 (patch)
tree6cce21fe42b53a58a30e06cc6f6bd358a1fd7649 /templates/contact.html
parent8c9058d0f6ad77a1636488ab3ec806850275adc2 (diff)
add first styling
Diffstat (limited to 'templates/contact.html')
-rw-r--r--templates/contact.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/contact.html b/templates/contact.html
index 20b15e8b..527d24e6 100644
--- a/templates/contact.html
+++ b/templates/contact.html
@@ -1 +1,6 @@
-<a ui-sref=".detail({ uid: ctrl.contact.uid() })">{{ctrl.contact.fullName()}}</a> \ No newline at end of file
+<td class="contact__name">
+ <span class="contact__icon" ng-style="{'background-color': (ctrl.contact.uid() | contactColor) }">
+ {{ ctrl.contact.fullName() | firstCharacter }}
+ </span>
+ <a ui-sref=".detail({ uid: ctrl.contact.uid() })">{{ctrl.contact.fullName()}}</a>
+</td>