aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/widgets.php6
-rw-r--r--view/tpl/locmanage.tpl4
2 files changed, 8 insertions, 2 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 010fcf0ae..ac0b6a84f 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -559,6 +559,12 @@ function widget_settings_menu($arr) {
);
}
+ $tabs[] = array(
+ 'label' => t('Connected apps'),
+ 'url' => $a->get_baseurl(true) . '/settings/oauth',
+ 'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
+ );
+
if($role === false || $role === 'custom') {
$tabs[] = array(
'label' => t('Connection Default Permissions'),
diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl
index 95847d559..6d8e90ad2 100644
--- a/view/tpl/locmanage.tpl
+++ b/view/tpl/locmanage.tpl
@@ -21,16 +21,16 @@
</div>
<table id="locs-index">
<tr>
- <th>{{$loc}}</th>
<th>{{$addr}}</th>
+ <th class="hidden-xs">{{$loc}}</th>
<th>{{$mkprm}}</th>
<th>{{$drop}}</th>
</tr>
{{foreach $hubs as $hub}}
{{if ! $hub.deleted }}
<tr>
- <td>{{$hub.hubloc_url}}</td>
<td>{{$hub.hubloc_addr}}</td>
+ <td class="hidden-xs">{{$hub.hubloc_url}}</td>
<td>{{if $hub.primary}}<i class="icon-check"></i>{{else}}<i class="icon-check-empty primehub" onclick="primehub({{$hub.hubloc_id}}); return false;"></i>{{/if}}</td>
<td><i class="icon-trash drophub" onclick="drophub({{$hub.hubloc_id}}); return false;"></i></td>
</tr>