diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index 1732a02f0..397d636fc 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -2,7 +2,7 @@ <% bids.each do |bid|%> - +
diff --git a/app/views/bids/index.html.erb b/app/views/bids/index.html.erb index 5b594ee96..c0b5bca84 100644 --- a/app/views/bids/index.html.erb +++ b/app/views/bids/index.html.erb @@ -1,20 +1,26 @@ -<% if User.current.logged? %> -
-
- <%= toggle_link l(:button_new_bid), 'put-bid-form', {:focus => 'project_id'} %> -
<% end %> <%= form_tag(bids_path, :method => :get) do %>
- <%=l(:label_bid_plural)%> - +
<%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %> @@ -26,7 +26,7 @@
- +
diff --git a/app/views/bids/_history.html.erb b/app/views/bids/_history.html.erb index a64a28f33..c33013d94 100644 --- a/app/views/bids/_history.html.erb +++ b/app/views/bids/_history.html.erb @@ -50,7 +50,7 @@ + :remote => true, :method => 'delete', :class => "delete", :confirm => l(:text_are_you_sure), :title => l(:button_delete)) if remove_allowed || journal.user_id == User.current.id %>
<%= bid.description%>
<%= link_to(image_tag('comment.png'), {:controller => 'bids', :action => 'new', :id => bid, :journal_id => journal}, :remote => true, :method => 'post', :title => l(:button_quote))%> <%= link_to(image_tag('delete.png'), {:controller => 'bids', :action => 'destroy', :object_id => journal, :id => bid},:confirm => l(:label_delete_confirm), - :remote => true, :method => 'delete', :class => "delete", :title => l(:button_delete)) if remove_allowed || journal.user_id == User.current.id %>
+ + + + + + +
<%= l(:label_bid_plural)%><% if User.current.logged? %> + +
+ <%= toggle_link l(:button_new_bid), 'put-bid-form', {:focus => 'project_id'} %> +
+ <% end %>
+
<%end%> - <% if User.current.logged? %>
-

<%= pagination_links_full @news_pages %>

+ <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:project_id => @project, :key => User.current.rss_key} %> diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index a2fd0d88e..c318b5077 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -1,26 +1,26 @@ <% content_for :header_tags do %> - <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> +<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> <% end %> - - - - <%= form_tag(projects_path, :method => :get) do %>
- <%=l(:label_project_plural)%> - - <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %> - - -
-<% end %> +<%end%>
-<%= render_project_hierarchy(@projects)%> + <%= render_project_hierarchy(@projects)%>