Commit 63d37eb00e7439507ced22fc7224950f7d105f6f
Exists in
master
and in
23 other branches
Merge commit 'bad1cc537d710e03288c446a54c06e55df9994c5' into v0.11.x
Showing
2 changed files
with
7 additions
and
6 deletions
Show diff stats
app/views/memberships/index.rhtml
| ... | ... | @@ -2,6 +2,12 @@ |
| 2 | 2 | |
| 3 | 3 | <h1><%= _('Manage my groups') %></h1> |
| 4 | 4 | |
| 5 | +<% button_bar do %> | |
| 6 | + <%= button(:add, _('Create a new community'), :controller => 'memberships', :action => 'new_community') %> | |
| 7 | + <%= button(:add, __('Register a new Enterprise'), :controller => 'enterprise_registration') if environment.regions.any?{|i| i.has_validator?} %> | |
| 8 | + <%= button :back, _('Go back'), :controller => 'profile_editor' %> | |
| 9 | +<% end %> | |
| 10 | + | |
| 5 | 11 | <ul> |
| 6 | 12 | <% for membership in @memberships %> |
| 7 | 13 | <li> |
| ... | ... | @@ -25,10 +31,4 @@ |
| 25 | 31 | <% end %> |
| 26 | 32 | </ul> |
| 27 | 33 | |
| 28 | -<% button_bar do %> | |
| 29 | - <%= button(:add, _('Create a new community'), :controller => 'memberships', :action => 'new_community') %> | |
| 30 | - <%= button(:add, __('Register a new Enterprise'), :controller => 'enterprise_registration') if environment.regions.any?{|i| i.has_validator?} %> | |
| 31 | - <%= button :back, _('Go back'), :controller => 'profile_editor' %> | |
| 32 | -<% end %> | |
| 33 | - | |
| 34 | 34 | </div> | ... | ... |