##// END OF EJS Templates
Display the last 30 days on the activity view rather than the current month....
Display the last 30 days on the activity view rather than the current month. Number of days can be configured in the application settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1196 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1166:9daf39ec5242
r1182:bbe8ea29e8d3
Show More
index.rhtml
39 lines | 1.9 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
New document form can be accessed from the document list with no additional request....
r838 <%= link_to_if_authorized l(:label_document_new),
Jean-Philippe Lang
Moved ProjectsController#list_documents and add_document to DocumentsController#index and new....
r998 {:controller => 'documents', :action => 'new', :project_id => @project},
Jean-Philippe Lang
New document form can be accessed from the document list with no additional request....
r838 :class => 'icon icon-add',
:onclick => 'Element.show("add-document"); return false;' %>
</div>
<div id="add-document" style="display:none;">
<h2><%=l(:label_document_new)%></h2>
Jean-Philippe Lang
Moved ProjectsController#list_documents and add_document to DocumentsController#index and new....
r998 <% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %>
Jean-Philippe Lang
New document form can be accessed from the document list with no additional request....
r838 <%= render :partial => 'documents/form' %>
<div class="box">
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
Jean-Philippe Lang
New document form can be accessed from the document list with no additional request....
r838 </div>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-document")' %>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
<h2><%=l(:label_document_plural)%></h2>
Jean-Philippe Lang
Added radio buttons on the documents list to sort documents by category, date, title or author....
r866 <% if @grouped.empty? %><p class="nodata"><%= l(:label_no_data) %></p><% end %>
<% @grouped.keys.sort.each do |group| %>
<h3><%= group %></h3>
<%= render :partial => 'documents/document', :collection => @grouped[group] %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Added radio buttons on the documents list to sort documents by category, date, title or author....
r866 <% content_for :sidebar do %>
<h3><%= l(:label_sort_by, '') %></h3>
<% form_tag({}, :method => :get) do %>
<label><%= radio_button_tag 'sort_by', 'category', (@sort_by == 'category'), :onclick => 'this.form.submit();' %> <%= l(:field_category) %></label><br />
<label><%= radio_button_tag 'sort_by', 'date', (@sort_by == 'date'), :onclick => 'this.form.submit();' %> <%= l(:label_date) %></label><br />
<label><%= radio_button_tag 'sort_by', 'title', (@sort_by == 'title'), :onclick => 'this.form.submit();' %> <%= l(:field_title) %></label><br />
<label><%= radio_button_tag 'sort_by', 'author', (@sort_by == 'author'), :onclick => 'this.form.submit();' %> <%= l(:field_author) %></label>
<% end %>
<% 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_document_plural)) -%>