Prepare for API v1 (PR #570)
This commit is contained in:
parent
d9ae0d11b0
commit
fd96b6ccc1
21 changed files with 536 additions and 217 deletions
|
|
@ -6,6 +6,8 @@
|
|||
- url = action_name == 'show' ? nil : admin_config_path(tab: tab)
|
||||
%li{class: ('active' if @current_tab==tab)}= link_to t("config.tabs.#{tab}"), "#{url}#tab-#{tab}", data: ({toggle: 'tab'} unless url)
|
||||
|
||||
-# make this a button to give some indicator that navigation away might lose changes
|
||||
-# make these buttons to give some indicator that navigation away might lose changes
|
||||
%li.pull-right{class: ('active' if @current_tab=='list')}
|
||||
= link_to t('config.tabs.list'), list_admin_config_path, class: ('btn' unless @current_tab=='list')
|
||||
%li.pull-right
|
||||
= link_to t('config.tabs.applications'), oauth_applications_path, class: 'btn'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue