diff --git a/app/views/admin/content/_article_list.html.erb b/app/views/admin/content/_article_list.html.erb
index 7a2bc7fc65..ee053fed18 100644
--- a/app/views/admin/content/_article_list.html.erb
+++ b/app/views/admin/content/_article_list.html.erb
@@ -6,7 +6,7 @@
<%= article.published_at.strftime("%m/%d/%Y") %> |
<%= author_link(article)%> |
<%= link_to_published article %> |
- <%= (article.allow_comments?) ? link_to(article.comments.ham.size.to_s, :controller => '/admin/feedback', :id => article.id, :action => 'article') : '-' %> |
+ <%= (article.allow_comments?) ? link_to(article.comments.ham.size.to_s, :controller => '/admin/feedback', :id => article.id, :action => 'article') : '-' %> |
<% end %>
<%= display_pagination(@articles, 7)%>
diff --git a/app/views/admin/content/_drafts.html.erb b/app/views/admin/content/_drafts.html.erb
index 841d1bb826..4bdacb64dd 100644
--- a/app/views/admin/content/_drafts.html.erb
+++ b/app/views/admin/content/_drafts.html.erb
@@ -1,6 +1,8 @@
-
-
- <% Article.drafts.all.each do |draft| %>
- <%= link_to("#{draft.title}
", :action => 'edit', :id => draft.id) %>
- <% end %>
+
diff --git a/app/views/admin/content/_form.html.erb b/app/views/admin/content/_form.html.erb
index 02ff3d661d..c1fe9b086a 100644
--- a/app/views/admin/content/_form.html.erb
+++ b/app/views/admin/content/_form.html.erb
@@ -63,7 +63,7 @@
<%= ckeditor_textarea('article', 'body_and_extended', {:class => 'large', :height => '300px', :rows => '20'}) if current_user.editor == 'visual' %>
- >
+
>
<%= text_area('article', 'body_and_extended', {:class => 'large', :height => '300px', :rows => '20'}) %>
<%= render_macros(@macros) if current_user.editor == 'simple' %>
diff --git a/app/views/admin/content/index.html.erb b/app/views/admin/content/index.html.erb
index e18602485b..9dd77e4ffe 100644
--- a/app/views/admin/content/index.html.erb
+++ b/app/views/admin/content/index.html.erb
@@ -1,5 +1,5 @@
<% @page_heading = _('Manage articles') %>
-<% @link_to_new = link_to(_("New Article"), {:controller => 'contents', :action => 'new'}, :id => 'dialog-link', :class => 'ui-state-default ui-corner-all') %>
+<% @link_to_new = link_to(_("New Article"), {:controller => 'content', :action => 'new'}, :id => 'dialog-link', :class => 'ui-state-default ui-corner-all') %>
<% subtabs_for(:content) %>
@@ -11,15 +11,17 @@
:complete => "Element.hide('spinner')" \
do %>
+<%= render :partial => 'drafts'%>
+
-<%= render :partial => 'drafts'%>
-
<%= _("Title") %> |
diff --git a/public/stylesheets/administration.css b/public/stylesheets/administration.css
index 1a25e352a6..2f55ffa047 100644
--- a/public/stylesheets/administration.css
+++ b/public/stylesheets/administration.css
@@ -505,6 +505,7 @@ div.setting { float: left; margin-bottom: 12px;}
.right { text-align: right;}
.save { background: #FB7C00; border: #FB7C00 1px solid; color: #fff; -moz-border-radius:3px 3px 3px 3px; -webkit-border-radius:3px 3px 3px 3px; font-weight: bold;}
.unpublished, a.unpublished { color: #c00;}
+.published, a.published { color: #6eac2c;}
/* Footer */
#footer { clear: both;}
@@ -544,6 +545,14 @@ td {
color:#362B36;
}
+tr.shade td {
+ background: #F0F0F6;
+}
+
+td.paginate {
+ text-align: center;
+}
+
/* Éditeur */
#editor-left { margin-right: 320px; }
@@ -603,4 +612,14 @@ td {
.page_new a {
padding: 0.4em 1em 0.4em 1em;
+}
+
+.ed_button {
+ -moz-border-radius: 3px;
+ -webkit-border-radius : 3px;
+ background:url("../../images/admin/ui-bg_glass_80_d7ebf9_1x400.png") repeat-x scroll 50% 50% #D7EBF9;
+ border:1px solid #AED0EA;
+ color:#2779AA;
+ font-weight:bold;
+ margin-right: 0.2em;
}
\ No newline at end of file