[enh] Add a link to the debug tab in the app page

This commit is contained in:
Laurent Peuch 2015-10-02 20:19:14 -04:00 committed by opi
parent d8d7eb2172
commit 1118a3a18c
2 changed files with 9 additions and 0 deletions

View file

@ -101,8 +101,10 @@
"app_info_access_desc" : "Manage user access. Allowed users: %s",
"app_info_default_desc" : "Redirect domain root to this application (%s).",
"app_info_uninstall_desc" : "Remove this application.",
"app_info_debug_desc" : "Display debugging information for this application.",
"app_access" : "Access",
"app_make_default" : "Make default",
"app_debug_tab" : "Display debug information",
"app_access_title" : "%s access",
"allowed_users" : "Allowed users",
"remove_access" : "Remove access",

View file

@ -54,5 +54,12 @@
<span class="fa-trash-o"></span> {{t 'uninstall'}}
</a>
</div>
<hr>
<div class="container">
<p>{{t 'app_info_debug_desc'}}</p>
<a href="#/apps/{{settings.id}}/debug" class="btn btn-warning slide">
<span class="fa-trash-o"></span> {{t 'app_debug_tab'}}
</a>
</div>
</div>
</div>