##// END OF EJS Templates
Changed style of the wiki edit form....
Changed style of the wiki edit form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8253 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8021:9636882c1e89
r8133:17d08a939fad
Show More
index.html.erb
51 lines | 2.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
Jean-Philippe Lang
Fixed: "Add news" link broken by recent refactoring (#6650)....
r4153 <%= link_to(l(:label_news_new),
new_project_news_path(@project),
:class => 'icon icon-add',
:onclick => 'Element.show("add-news"); Form.Element.focus("news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %>
Jean-Philippe Lang
The news list now shows the full news contents....
r739 </div>
<div id="add-news" style="display:none;">
<h2><%=l(:label_news_new)%></h2>
Jean-Philippe Lang
Use #labelled_form_for instead of #labelled_tabular_form_for....
r8021 <% labelled_form_for @news, :url => project_news_index_path(@project),
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 :html => { :id => 'news-form' } do |f| %>
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <%= render :partial => 'news/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/news/index.html.erb...
r7154 <%= link_to_remote l(:label_preview),
Eric Davis
Refactor: convert News to a REST resource...
r4100 { :url => preview_news_path(:project_id => @project),
Eric Davis
Refactor: move NewsController#preview to PreviewsController#news...
r4060 :method => 'get',
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 :update => 'preview',
:with => "Form.serialize('news-form')"
}, :accesskey => accesskey(:preview) %> |
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-news")' %>
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 <% end if @project %>
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 <div id="preview" class="wiki"></div>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_news_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <% if @newss.empty? %>
Jean-Philippe Lang
Application layout refactored....
r736 <p class="nodata"><%= l(:label_no_data) %></p>
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <% else %>
<% @newss.each do |news| %>
Toshi MARUYAMA
show avatars on the news list (#9470)...
r7535 <h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %>
Eric Davis
Refactor: convert News to a REST resource...
r4100 <%= link_to h(news.title), news_path(news) %>
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
Jean-Philippe Lang
Fixed: pagination broken on news list with Opera....
r786 <p class="author"><%= authoring news.created_on, news.author %></p>
Jean-Philippe Lang
Added missing wiki div on news/index and news/show....
r1045 <div class="wiki">
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <%= textilizable(news.description) %>
Jean-Philippe Lang
Added missing wiki div on news/index and news/show....
r1045 </div>
Jean-Philippe Lang
The news list now shows the full news contents....
r739 <% end %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
New setting added to specify how many objects should be displayed on most paginated lists....
r1013 <p class="pagination"><%= pagination_links_full @news_pages %></p>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% other_formats_links do |f| %>
Toshi MARUYAMA
replace tabs to spaces at app/views/news/index.html.erb...
r7230 <%= f.link_to 'Atom', :url => {:project_id => @project, :key => User.current.rss_key} %>
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% end %>
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
Eric Davis
Add scm.css to news pages to allow proper syntax highlighting. #6270...
r3993 <%= stylesheet_link_tag 'scm' %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_news_plural)) -%>