Commit 5905980f5cfe08ee67439346c79d98cfdf31a06f
1 parent
84f38b95
Exists in
master
and in
29 other branches
ActionItem21: checkpoint
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@981 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
5 changed files
with
22 additions
and
2 deletions
Show diff stats
app/views/cms/text_html_new.rhtml
@@ -11,5 +11,6 @@ | @@ -11,5 +11,6 @@ | ||
11 | <%= f.text_area('body', :cols => 64) %> | 11 | <%= f.text_area('body', :cols => 64) %> |
12 | 12 | ||
13 | <%= design_display_button_submit('save', _('Save')) %> | 13 | <%= design_display_button_submit('save', _('Save')) %> |
14 | + <%= design_display_button('cancel', _('Cancel'), :action => 'view', :id => @article) %> | ||
14 | 15 | ||
15 | <% end %> | 16 | <% end %> |
app/views/cms/view.rhtml
@@ -48,6 +48,16 @@ | @@ -48,6 +48,16 @@ | ||
48 | <% if @article %> | 48 | <% if @article %> |
49 | <h2><%= @article.name %></h2> | 49 | <h2><%= @article.name %></h2> |
50 | <% button_bar(:id => 'article-controls') do %> | 50 | <% button_bar(:id => 'article-controls') do %> |
51 | + | ||
52 | + <ul> | ||
53 | + <li> | ||
54 | + <%= _('"%{article}", last changed by %{author}') % { :article => @article.name, :author => 'bli' } %> | ||
55 | + </li> | ||
56 | + <li> | ||
57 | + <%= _('Public address of this article: %s') % (@article.public_path) %> | ||
58 | + </li> | ||
59 | + </ul> | ||
60 | + | ||
51 | <%= link_to_edit_article(@article) %> | 61 | <%= link_to_edit_article(@article) %> |
52 | <%= button('home', _('Use as homepage'), { :action => 'set_home_page', :id => @article }, { :method => :post }) %> | 62 | <%= button('home', _('Use as homepage'), { :action => 'set_home_page', :id => @article }, { :method => :post }) %> |
53 | <% end %> | 63 | <% end %> |
public/stylesheets/button.css
@@ -3,14 +3,14 @@ | @@ -3,14 +3,14 @@ | ||
3 | margin-left: 5px; | 3 | margin-left: 5px; |
4 | background-color: transparent; | 4 | background-color: transparent; |
5 | background-repeat: no-repeat; | 5 | background-repeat: no-repeat; |
6 | - background-position: 0px; | 6 | + background-position: 0 0; |
7 | 7 | ||
8 | padding-left: 25px; | 8 | padding-left: 25px; |
9 | padding-right: 2px; | 9 | padding-right: 2px; |
10 | 10 | ||
11 | float: left; | 11 | float: left; |
12 | display: block; | 12 | display: block; |
13 | - height: 26px; | 13 | + height: 24px; |
14 | 14 | ||
15 | } | 15 | } |
16 | 16 |
public/stylesheets/common.css
@@ -201,6 +201,9 @@ div.file-manager-button a:hover { | @@ -201,6 +201,9 @@ div.file-manager-button a:hover { | ||
201 | float: right; | 201 | float: right; |
202 | color: white; | 202 | color: white; |
203 | } | 203 | } |
204 | +#article-subitems-show.show-button { | ||
205 | + float: right; | ||
206 | +} | ||
204 | #article-subitems-hide.hide-button:hover { | 207 | #article-subitems-hide.hide-button:hover { |
205 | background-color: transparent; | 208 | background-color: transparent; |
206 | color: black; | 209 | color: black; |
@@ -220,4 +223,5 @@ div.file-manager-button a:hover { | @@ -220,4 +223,5 @@ div.file-manager-button a:hover { | ||
220 | border: 1px solid gray; | 223 | border: 1px solid gray; |
221 | padding-top: 4px; | 224 | padding-top: 4px; |
222 | padding-bottom: 4px; | 225 | padding-bottom: 4px; |
226 | + margin-bottom: 1em; | ||
223 | } | 227 | } |