Mercurial > hg > soundsoftware-site
view .svn/pristine/44/44d79a17ffe7c2b64a23af9018ae26f5e13961e3.svn-base @ 1080:5bd8c86cfa6a issue_540
Makes the Publication model act as an activity; overloading the default ActivitiesController#index view in the Bibliography Plugin in order to differentiate Publications from the other event types.
* Known issues:
** route to /activities is not working (only to /activity);
** publication cache needs to be implemented in the model, not in the helper;
** when a publication is added to n projects, n events are created (all with the same content).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Nov 2012 16:51:23 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
<% form_tag({:action => 'edit', :tab => 'issues'}) do %> <div class="box tabular settings"> <p><%= setting_check_box :cross_project_issue_relations %></p> <p><%= setting_check_box :issue_group_assignment %></p> <p><%= setting_check_box :default_issue_start_date_to_creation_date %></p> <p><%= setting_check_box :display_subprojects_issues %></p> <p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p> <p><%= setting_text_field :issues_export_limit, :size => 6 %></p> <p><%= setting_text_field :gantt_items_limit, :size => 6 %></p> </div> <fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend> <%= setting_multiselect(:issue_list_default_columns, Query.new.available_columns.collect {|c| [c.caption, c.name.to_s]}, :label => false) %> </fieldset> <%= submit_tag l(:button_save) %> <% end %>