##// END OF EJS Templates
wrapped javascript with //<![CDATA[ in my/page_layout...
wrapped javascript with //<![CDATA[ in my/page_layout git-svn-id: http://redmine.rubyforge.org/svn/trunk@245 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r154:220641909ca6
r242:10e77d865b6c
Show More
list_documents.rhtml
12 lines | 525 B | text/html+ruby | RhtmlLexer
/ app / views / projects / list_documents.rhtml
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
Jean-Philippe Lang
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)...
r154 <%= link_to_if_authorized l(:label_document_new), {:controller => 'projects', :action => 'add_document', :id => @project}, :class => 'icon icon-add' %>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_document_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
views cleaning...
r20 <% if @documents.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
Jean-Philippe Lang
Initial commit...
r2 <% documents = @documents.group_by {|d| d.category } %>
<% documents.each do |category, docs| %>
Jean-Philippe Lang
various modifications to prevent xss...
r96 <h3><%= category.name %></h3>
<%= render :partial => 'documents/document', :collection => docs %>
Jean-Philippe Lang
contextual links redesign...
r90 <% end %>