team anchors

This commit is contained in:
tmshv committed 2014-11-24 02:03:48 +03:00
1 parent 674aeace6a
commit a09e4606d5
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -6,7 +6,8 @@
"edu": "Ленинградский инженерно-строительный институт",
"diploma": "НВ №222567",
"status": "",
"picture": "http://static.shburg.org/art/team/teacher5.jpg"
"picture": "http://static.shburg.org/art/team/teacher5.jpg",
"anchor": "director"
},
{
"id": "va-sarzhin",
+1
View File
@@ -3,6 +3,7 @@
<div class="team-block">
<ul ng-controller="TeamController">
<li class="team-member" ng-repeat="person in team">
<a name="{{person.anchor}}"></a>
<img ng-src="{{person.picture}}">
<div class="info">
<h3>{{person.names[1]}} {{person.names[2]}} <span>{{person.names[3]}}</span></h3>