[Git][noosfero/noosfero][master] 2 commits: Improving navegability in admin pages

Rodrigo Souto gitlab at mg.gitlab.com
Mon Sep 10 17:16:26 BRT 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
f7755620 by Alax Alves at 2018-09-08T01:46:46Z
Improving navegability in admin pages

- - - - -
b6fc0310 by Rodrigo Souto at 2018-09-10T20:16:23Z
Merge branch 'issue-354' into 'master'

Improving navegability in admin pages

See merge request noosfero/noosfero!1611
- - - - -


8 changed files:

- app/views/admin_panel/message_for_disabled_enterprise.html.erb
- app/views/admin_panel/set_portal_community.html.erb
- app/views/admin_panel/site_info.html.erb
- app/views/admin_panel/string_templates.html.erb
- app/views/categories/index.html.erb
- app/views/email_templates/index.html.erb
- app/views/profile_quotas/index.html.erb
- app/views/region_validators/index.html.erb


Changes:

=====================================
app/views/admin_panel/message_for_disabled_enterprise.html.erb
=====================================
@@ -5,6 +5,7 @@
   <%= f.text_area :message_for_disabled_enterprise, :cols => 40, :style => 'width: 90%', :class => current_editor %>
 
   <%= button_bar do %>
+    <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
     <%= submit_button(:save, _('Save')) %>
     <%= button(:cancel, _('Cancel'), :action => 'index') %>
   <% end %>


=====================================
app/views/admin_panel/set_portal_community.html.erb
=====================================
@@ -5,6 +5,7 @@
     <%= labelled_form_field(_('Portal identifier'), text_field_tag('portal_community_identifier', @portal_community.identifier, :size => 40) ) %>
 
     <%= button_bar do %>
+      <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
       <%= submit_button :save, _('Save'), :cancel => { :action => 'index' }  %>
     <% end %>
   <% end %>


=====================================
app/views/admin_panel/site_info.html.erb
=====================================
@@ -19,6 +19,7 @@
     :content => (render :partial => 'signup_intro', :locals => {:f => f})} %>
   <%= render_tabs(tabs) %>
   <%= button_bar do %>
+    <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
     <%= submit_button(:save, _('Save'), :cancel => {:action => 'index'}) %>
   <% end %>
 <% end %>


=====================================
app/views/admin_panel/string_templates.html.erb
=====================================
@@ -1,5 +1,7 @@
 <h1><%= _('Macros') %></h1>
 
+<%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
+
 <p>
   <%= _('The following macros can be used to access the attributes of '\
         'the enclosing context. For blocks, macros are available in any '\


=====================================
app/views/categories/index.html.erb
=====================================
@@ -3,6 +3,7 @@
     <h1><%= category_name %></h1>
 
     <%= button_bar do %>
+      <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
       <%= button :add, _('New category'), :action => 'new', :type => category_type %>
     <% end %>
 


=====================================
app/views/email_templates/index.html.erb
=====================================
@@ -22,6 +22,7 @@
 
   <br />
 
+  <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>
   <%= button(:new, _('New template'), :action => :new) %>
   <%= button(:back, _('Back'), @back_to) %>
 </div>


=====================================
app/views/profile_quotas/index.html.erb
=====================================
@@ -10,3 +10,4 @@
              :content => (render :partial => 'quotas_by_profile', locals: { profiles: @profiles }) } %>
 
 <%= render_tabs(tabs) %>
+<%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>


=====================================
app/views/region_validators/index.html.erb
=====================================
@@ -3,3 +3,5 @@
 <ul class='tree'>
   <%= render :partial => 'region', :collection => @regions %>
 </ul>
+
+<%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/b25f8729b2fbfb7555b49a9e34d20b3e2871a728...b6fc031040a70df69909a04e9d0b052a0f171047

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/b25f8729b2fbfb7555b49a9e34d20b3e2871a728...b6fc031040a70df69909a04e9d0b052a0f171047
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180910/03b08555/attachment-0001.html>


More information about the Noosfero-dev mailing list