Commit c35cbcf4f14947d251086dfdb9804a001a9cd6d0
1 parent
483f5d55
Exists in
master
and in
29 other branches
Some enhancements
Showing
4 changed files
with
8 additions
and
5 deletions
Show diff stats
app/models/enterprise_homepage.rb
app/views/content_viewer/_article_toolbar.rhtml
... | ... | @@ -34,11 +34,11 @@ |
34 | 34 | <%= expirable_button @page, :locale, content, url %> |
35 | 35 | <% end %> |
36 | 36 | |
37 | - <%= colorbox_button(:new, label_for_new_article(@page), profile.admin_url.merge(:controller => 'cms', :action => 'new', :parent_id => (@page.folder? ? @page : (@page.parent.nil? ? nil : @page.parent)))) if !remove_content_button(:new) %> | |
37 | + <%= colorbox_button(:new, label_for_new_article(@page), profile.admin_url.merge(:controller => 'cms', :action => 'new', :parent_id => (@page.folder? ? @page : (@page.parent.nil? ? nil : @page.parent)))) unless remove_content_button(:new) %> | |
38 | 38 | <% end %> |
39 | 39 | |
40 | 40 | <% if @page.accept_uploads? && @page.allow_create?(user) %> |
41 | - <%= button('upload-file', _('Upload files'), profile.admin_url.merge(:controller => 'cms', :action => 'upload_files', :parent_id => (@page.folder? ? @page : @page.parent))) if !remove_content_button(:upload)%> | |
41 | + <%= button('upload-file', _('Upload files'), profile.admin_url.merge(:controller => 'cms', :action => 'upload_files', :parent_id => (@page.folder? ? @page : @page.parent))) unless remove_content_button(:upload)%> | |
42 | 42 | <% end %> |
43 | 43 | |
44 | 44 | <% if !@page.allow_create?(user) && profile.community? && (@page.blog? || @page.parent && @page.parent.blog?) && !remove_content_button(:suggest) %> | ... | ... |
plugins/work_assignment/views/cms/work_assignment_plugin/_work_assignment.html.erb
public/stylesheets/application.css
... | ... | @@ -2290,6 +2290,9 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
2290 | 2290 | background: none; |
2291 | 2291 | border: none; |
2292 | 2292 | } |
2293 | +.formfield.type-select select { | |
2294 | + max-width: 100%; | |
2295 | +} | |
2293 | 2296 | .submitline { |
2294 | 2297 | text-align: center; |
2295 | 2298 | } |
... | ... | @@ -2438,7 +2441,7 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
2438 | 2441 | width: 50%; |
2439 | 2442 | } |
2440 | 2443 | |
2441 | -.description { | |
2444 | +.controller-admin_panel .description { | |
2442 | 2445 | background-color: #E6E6E6; |
2443 | 2446 | border: 1px solid #CCC; |
2444 | 2447 | padding: 5px; | ... | ... |