Skip to content

Commit

Permalink
add version number to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Cuy committed Apr 29, 2016
1 parent 3187e0c commit 88d5bfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/directives/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ angular.module('idai.components')
.directive('idaiFooter', function() {
return {
restrict: 'E',
scope: { mailto: '@', institutions: '=' },
scope: { mailto: '@', institutions: '=', version: '@' },
templateUrl: 'partials/directives/idai-footer.html',
controller: [ '$scope', '$http', 'localizedContent',
function($scope,$http, localizedContent) {
Expand Down
6 changes: 5 additions & 1 deletion src/partials/directives/idai-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<a href="info/{{link.id}}">{{link.title}}</a> |
</span>
{{'footer_bugs_to'|transl8}}
<a href="mailto:{{mailto}}">{{mailto}}</a></p>
<a href="mailto:{{mailto}}">{{mailto}}</a>
</p>
<p ng-show="version">
<small>{{version}}</small>
</p>
</div>
</div>

0 comments on commit 88d5bfb

Please sign in to comment.