app/views/workarea/admin/navigation_taxons/index.html.haml in workarea-admin-3.4.45 vs app/views/workarea/admin/navigation_taxons/index.html.haml in workarea-admin-3.5.0.beta.1
- old
+ new
@@ -3,13 +3,29 @@
- content_for :head do
%meta{ name: 'turbolinks-cache-control', content: 'no-cache' }
.view
.view__header
- .view__heading
- = link_to "↑ #{t('workarea.admin.navigation_taxons.index.dashboard_link')}", store_dashboards_path
- %h1.heading--no-margin= t('workarea.admin.navigation_taxons.index.title')
- %p= t('workarea.admin.navigation_taxons.index.description_html', primary_nav_link: link_to('primary navigation', navigation_menus_path))
+ .grid
+ .grid__cell.grid__cell--25
+ .release-select{ class: ('release-select--emphasize' if current_release.present?) }
+ .release-select__container
+ .release-select__container-cell
+ = inline_svg('workarea/admin/icons/calendar.svg', title: 'Managing changes for', class: 'release-select__icon')
+ = select_tag :release_id, release_options_for_select(nil), class: 'release-select__input', disabled: true
+ - unless current_release.present?
+ = link_to '#release-select-reminder', data: { tooltip: { interactive: true }.to_json } do
+ = inline_svg('workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue')
+
+ #release-select-reminder.tooltip-content
+ .align-center
+ = t('workarea.admin.navigation_taxons.index.releasable_note_html', url: navigation_menus_path)
+
+ .grid__cell.grid__cell--50
+ .view__heading
+ = link_to "↑ #{t('workarea.admin.navigation_taxons.index.dashboard_link')}", store_dashboards_path
+ %h1.heading--no-margin= t('workarea.admin.navigation_taxons.index.title')
+ %p= t('workarea.admin.navigation_taxons.index.description_html', primary_nav_link: link_to('primary navigation', navigation_menus_path))
.menu-editor
- @roots.each do |root|
.menu-editor__menu{ data: { menu_editor_parent_id: root.id } }