diff --git a/app/views/memberships/index.rhtml b/app/views/memberships/index.rhtml
index c084e90..9c3efd8 100644
--- a/app/views/memberships/index.rhtml
+++ b/app/views/memberships/index.rhtml
@@ -23,7 +23,7 @@
<% button_bar do %>
- <%= button(:add, _('Register a new Enterprise'), :controller => 'enterprise_registration') %>
- <%= button(:add, _('Create a new community'), :action => 'new_community') %>
- <%= button(:back, _('Go back'), :controller => 'profile_editor') %>
+ <%= button :add, _('Register a new Enterprise'), :controller => 'enterprise_registration' %>
+ <%= button :add, _('Create a new community'), :action => 'new_community' %>
+ <%= button :back, _('Go back'), :controller => 'profile_editor' %>
<% end %>
diff --git a/app/views/profile/communities.rhtml b/app/views/profile/communities.rhtml
index 4aa56f3..6a705bc 100644
--- a/app/views/profile/communities.rhtml
+++ b/app/views/profile/communities.rhtml
@@ -12,6 +12,8 @@
<% button_bar do %>
<%= button :back, _('Go back'), { :controller => 'profile' },
:help => _('Back to the page where you come from.') %>
+ <%= button :add, _('Create a new community'),
+ :controller => 'memberships', :action => 'new_community' %>
<% end %>
diff --git a/app/views/profile/enterprises.rhtml b/app/views/profile/enterprises.rhtml
index 7f0b94c..ec38f3e 100644
--- a/app/views/profile/enterprises.rhtml
+++ b/app/views/profile/enterprises.rhtml
@@ -12,6 +12,8 @@
<% button_bar do %>
<%= button :back, _('Go back'), { :controller => 'profile' },
:help => _('Back to the page where you come from.') %>
+ <%= button :add, _('Register a new Enterprise'),
+ :controller => 'enterprise_registration' %>
<% end %>
diff --git a/public/stylesheets/button.css b/public/stylesheets/button.css
index aa68d33..74e4c8b 100644
--- a/public/stylesheets/button.css
+++ b/public/stylesheets/button.css
@@ -43,17 +43,25 @@ a.button.with-text,
a.button.with-text:visited,
input.button.with-text {
background-color: #EEE;
- padding: 2px 2px 2px 25px;
- background-position: 2px 50%;
+ padding: 0px 2px 0px 25px;
+ background-position: 1px 50%;
border: 1px solid #AAA;
- line-height: 26px;
+ line-height: 20px;
+}
+input.button.with-text {
+ padding: 3px 2px 4px 21px;
+ background-position: 4px 50%;
}
.msie a.button.with-text,
.msie a.button.with-text:visited,
.msie input.button.with-text {
- line-height: 16px;
+ line-height: 22px;
margin: 2px;
}
+.msie input.button.with-text {
+ line-height: 19px;
+ padding: 0px 0px 0px 15px;
+}
a.button:hover,
input.button:hover,
--
libgit2 0.21.2