Footer for frontend and report errors link.
This commit is contained in:
parent
124f330895
commit
fa2a047370
10 changed files with 128 additions and 14 deletions
admin/js
|
@ -45,8 +45,13 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest
|
|||
'</a>' +
|
||||
'</div>' +
|
||||
'<p class="navbar-text navbar-right">' +
|
||||
'<a href="https://github.com/freifunkhamburg/ffffng/issues" target="_blank">' +
|
||||
'<i class="fa fa-bug" aria-hidden="true"></i> Report Error' +
|
||||
'</a>' +
|
||||
'</p>' +
|
||||
'<p class="navbar-text navbar-right">' +
|
||||
'<a href="https://github.com/freifunkhamburg/ffffng" target="_blank">' +
|
||||
'<i class="fa fa-github" aria-hidden="true"></i> Source Code' +
|
||||
'<i class="fa fa-code" aria-hidden="true"></i> Source Code' +
|
||||
'</a>' +
|
||||
'</p>' +
|
||||
'<p class="navbar-text navbar-right">' +
|
||||
|
|
|
@ -4,7 +4,7 @@ angular.module('ffffngAdmin')
|
|||
.directive('faVersion', function ($http, $state, notification) {
|
||||
var link = function (scope) {
|
||||
scope.version = '?';
|
||||
$http.get('/internal/api/version')
|
||||
$http.get('/api/version')
|
||||
.then(function (result) { scope.version = result.data.version; })
|
||||
.catch(function (e) {
|
||||
notification.log('Error: ' + e.data, { addnCls: 'humane-flatty-error' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue