OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Path added to tabs
Inga Maib85e42dcf6e6
diff --git a/app/controllers/types_controller.rb b/app/controllers/types_controller.rbindex 16f88ffb833..b1d20e61496 100644--- a/app/controllers/types_controller.rb+++ b/app/controllers/types_controller.rb@@ -34,6 +34,7 @@ class TypesController < ApplicationControllerlayout 'admin'before_action :require_admin+ helper_method :gondef index@types = ::Type.page(page_param).per_page(per_page_param)diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rbindex a78236f6062..876ca822415 100644--- a/app/helpers/custom_fields_helper.rb+++ b/app/helpers/custom_fields_helper.rb@@ -31,14 +31,14 @@module CustomFieldsHelperdef custom_fields_tabs[- { name: 'WorkPackageCustomField', partial: 'custom_fields/tab', label: :label_work_package_plural },- { name: 'TimeEntryCustomField', partial: 'custom_fields/tab', label: :label_spent_time },- { name: 'ProjectCustomField', partial: 'custom_fields/tab', label: :label_project_plural },- { name: 'VersionCustomField', partial: 'custom_fields/tab', label: :label_version_plural },- { name: 'UserCustomField', partial: 'custom_fields/tab', label: :label_user_plural },- { name: 'GroupCustomField', partial: 'custom_fields/tab', label: :label_group_plural },- { name: 'TimeEntryActivityCustomField', partial: 'custom_fields/tab', label: TimeEntryActivity::OptionName },- { name: 'IssuePriorityCustomField', partial: 'custom_fields/tab', label: IssuePriority::OptionName }+ { name: 'WorkPackageCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :WorkPackageCustomField), label: :label_work_package_plural },+ { name: 'TimeEntryCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :TimeEntryCustomField), label: :label_spent_time },+ { name: 'ProjectCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :ProjectCustomField), label: :label_project_plural },+ { name: 'VersionCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :VersionCustomField), label: :label_version_plural },+ { name: 'UserCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :UserCustomField), label: :label_user_plural },+ { name: 'GroupCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :GroupCustomField), label: :label_group_plural },+ { name: 'TimeEntryActivityCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :TimeEntryActivityCustomField), label: TimeEntryActivity::OptionName },+ { name: 'IssuePriorityCustomField', partial: 'custom_fields/tab', path: custom_fields_path(tab: :IssuePriorityCustomField), label: IssuePriority::OptionName }]enddiff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rbindex 0064cf9ad36..f9dd15670f6 100644--- a/app/helpers/groups_helper.rb+++ b/app/helpers/groups_helper.rb@@ -29,9 +29,9 @@module GroupsHelperdef group_settings_tabs- [{ name: 'general', partial: 'groups/general', label: :label_general },- { name: 'users', partial: 'groups/users', label: :label_user_plural },- { name: 'memberships', partial: 'groups/memberships', label: :label_project_plural }+ [{ name: 'general', partial: 'groups/general', path: edit_group_path(@group), label: :label_general },+ { name: 'users', partial: 'groups/users', path: edit_group_path(@group, tab: :users), label: :label_user_plural },+ { name: 'memberships', partial: 'groups/memberships', path: edit_group_path(@group, tab: :memberships), label: :label_project_plural }]enddiff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rbindex e2cf24fd41a..6defce57458 100644--- a/app/helpers/settings_helper.rb+++ b/app/helpers/settings_helper.rb@@ -34,12 +34,12 @@ module SettingsHelperdef administration_settings_tabs[- { name: 'general', partial: 'settings/general', label: :label_general },- { name: 'display', partial: 'settings/display', label: :label_display },- { name: 'projects', partial: 'settings/projects', label: :label_project_plural },- { name: 'notifications', partial: 'settings/notifications', label: :label_mail_notification },- { name: 'mail_handler', partial: 'settings/mail_handler', label: :label_incoming_emails },- { name: 'repositories', partial: 'settings/repositories', label: :label_repository_plural }+ { name: 'general', partial: 'settings/general', path: settings_path, label: :label_general },+ { name: 'display', partial: 'settings/display', path: settings_path(tab: :display), label: :label_display },+ { name: 'projects', partial: 'settings/projects', path: settings_path(tab: :projects), label: :label_project_plural },+ { name: 'notifications', partial: 'settings/notifications', path: settings_path(tab: :notifications), label: :label_mail_notification },+ { name: 'mail_handler', partial: 'settings/mail_handler', path: settings_path(tab: :mail_handler), label: :label_incoming_emails },+ { name: 'repositories', partial: 'settings/repositories', path: settings_path(tab: :repositories), label: :label_repository_plural }]enddiff --git a/app/helpers/types_helper.rb b/app/helpers/types_helper.rbindex b1ed1b11d06..1616ddd0591 100644--- a/app/helpers/types_helper.rb+++ b/app/helpers/types_helper.rb@@ -28,6 +28,14 @@#++module ::TypesHelper+ def types_tabs(type)+ [+ { name: 'settings', partial: 'types/form/settings',path: edit_type_tab_path(id: @type.id, tab: :settings), label: 'types.edit.settings' },+ { name: 'form_configuration', partial: 'types/form/form_configuration', path: edit_type_tab_path(id: @type.id, tab: :form_configuration), label: 'types.edit.form_configuration' },+ { name: 'projects', partial: 'types/form/projects', path: edit_type_tab_path(id: @type.id, tab: :projects), label: 'types.edit.projects' }+ ]+ end+def icon_for_type(type)return unless typediff --git a/app/views/types/edit.html.erb b/app/views/types/edit.html.erbindex 425e86513c7..3a1ecebeb4b 100644--- a/app/views/types/edit.html.erb+++ b/app/views/types/edit.html.erb@@ -36,31 +36,8 @@ See docs/COPYRIGHT.rdoc for more details.<%= breadcrumb_toolbar @type.name %></div>-<div class="tabs">- <ul>- <li>- <%= link_to t("types.edit.settings"),- edit_type_tab_path(id: @type.id, tab: :settings),- class: "#{'selected' if @tab == "settings" }" %>- </li>- <li>- <%= link_to t("types.edit.form_configuration"),- edit_type_tab_path(id: @type.id, tab: :form_configuration),- class: "#{'selected' if @tab == 'form_configuration' }" %>- </li>- <li>- <%= link_to t("types.edit.projects"),- edit_type_tab_path(id: @type.id, tab: :projects),- class: "#{'selected' if @tab == 'projects' }" %>- </li>- </ul>-</div>+<%= render_tabs types_tabs(@type) %><%= error_messages_for 'type' %>-<%= form_for @type,- url: update_type_tab_path(id: @type.id, tab: @tab),- builder: TabularFormBuilder,- lang: current_language do |f| %>- <%= render partial: "types/form/#{@tab}", locals: { f: f } %>-<% end %>+<%= render partial: "types/form/#{@tab}" %>diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex 1abfcf013b2..5762f6baac1 100644--- a/app/views/types/form/_form_configuration.html.erb+++ b/app/views/types/form/_form_configuration.html.erb@@ -27,68 +27,73 @@ See docs/COPYRIGHT.rdoc for more details.++#%>-<% form_attributes = form_configuration_groups(@type) %>+<%= form_for @type,+ url: update_type_tab_path(id: @type.id, tab: @tab),+ builder: TabularFormBuilder,+ lang: current_language do |f| %>+ <% form_attributes = form_configuration_groups(@type) %>-<section class="form--section">- <div>- <div class="grid-block -visible-overflow wrap">- <div class="grid-content -visible-overflow small-12 large-10">- <div class="notification-box -info">- <div class="notification-box--content">- <p><%= t('text_form_configuration') %></p>- <br>- <p><%= t('text_custom_field_hint_activate_per_project') %></p>+ <section class="form--section">+ <div>+ <div class="grid-block -visible-overflow wrap">+ <div class="grid-content -visible-overflow small-12 large-10">+ <div class="notification-box -info">+ <div class="notification-box--content">+ <p><%= t('text_form_configuration') %></p>+ <br>+ <p><%= t('text_custom_field_hint_activate_per_project') %></p>+ </div></div>- </div>- <% if EnterpriseToken.show_banners? %>- <div class="notification-box upsale-notification">- <div class="notification-box--content">- <h3><%= t('admin.enterprise.upgrade_to_ee') %></h3>- <%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>+ <% if EnterpriseToken.show_banners? %>+ <div class="notification-box upsale-notification">+ <div class="notification-box--content">+ <h3><%= t('admin.enterprise.upgrade_to_ee') %></h3>+ <%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>- <p><%= t('ee.upsale.form_configuration.description') %></p>+ <p><%= t('ee.upsale.form_configuration.description') %></p>- <ul class="">- <li>- <%= t('ee.upsale.form_configuration.add_groups') %>- </li>- <li>- <%= t('ee.upsale.form_configuration.rename_groups') %>- </li>- </ul>- <p>- <br/>- <b><%= t('homescreen.blocks.upsale.become_hero') %></b> <%= t('homescreen.blocks.upsale.you_contribute') %>- </p>- <%= link_to("#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=form-configuration",- { class: 'button -alt-highlight',- aria: { label: t('admin.enterprise.order') },- target: '_blank',- title: t('admin.enterprise.order') }) do %>- <%= op_icon('button--icon icon-add') %>- <span class="button--text"><%= t('admin.enterprise.order') %></span>- <% end %>+ <ul class="">+ <li>+ <%= t('ee.upsale.form_configuration.add_groups') %>+ </li>+ <li>+ <%= t('ee.upsale.form_configuration.rename_groups') %>+ </li>+ </ul>+ <p>+ <br/>+ <b><%= t('homescreen.blocks.upsale.become_hero') %></b> <%= t('homescreen.blocks.upsale.you_contribute') %>+ </p>+ <%= link_to("#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=form-configuration",+ { class: 'button -alt-highlight',+ aria: { label: t('admin.enterprise.order') },+ target: '_blank',+ title: t('admin.enterprise.order') }) do %>+ <%= op_icon('button--icon icon-add') %>+ <span class="button--text"><%= t('admin.enterprise.order') %></span>+ <% end %>+ </div></div>- </div>- <% end %>- <% no_filter_query = ::API::V3::Queries::QueryParamsRepresenter.new(Query.new_default.tap { |q| q.filters = [] }).to_json %>- <%= f.hidden_field :attribute_groups, value: '', class: 'admin-type-form--hidden-field' %>- <%= content_tag('admin-type-form-configuration',- '',- data: {- 'active-groups': form_attributes[:actives],- 'inactive-attributes': form_attributes[:inactives],- 'no-filter-query': no_filter_query- }) %>+ <% end %>+ <% no_filter_query = ::API::V3::Queries::QueryParamsRepresenter.new(Query.new_default.tap { |q| q.filters = [] }).to_json %>+ <%= f.hidden_field :attribute_groups, value: '', class: 'admin-type-form--hidden-field' %>+ <%= content_tag('admin-type-form-configuration',+ '',+ data: {+ 'active-groups': form_attributes[:actives],+ 'inactive-attributes': form_attributes[:inactives],+ 'no-filter-query': no_filter_query+ }) %>+ </div></div></div>- </div>-</section>+ </section>-<div class="grid-block">- <div class="generic-table--action-buttons">- <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),- class: 'form-configuration--save -highlight -with-icon icon-checkmark' %>+ <div class="grid-block">+ <div class="generic-table--action-buttons">+ <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),+ class: 'form-configuration--save -highlight -with-icon icon-checkmark' %>+ </div></div>-</div>+<% end %>diff --git a/app/views/types/form/_projects.html.erb b/app/views/types/form/_projects.html.erbindex 613650f58c2..51f7d14d25f 100644--- a/app/views/types/form/_projects.html.erb+++ b/app/views/types/form/_projects.html.erb@@ -27,35 +27,40 @@ See docs/COPYRIGHT.rdoc for more details.++#%>-<section class="form--section">- <div class="grid-block wrap">- <div class="grid-content small-12 large-6">- <% if @projects.any? %>- <fieldset class="form--fieldset" id="type_project_ids">- <legend class="form--fieldset-legend" >- <%= t('types.edit.enabled_projects') %>- </legend>- <div>- <div class="form--fieldset-control">- <span class="form--fieldset-control-container">- (<%= check_all_links 'type_project_ids' %>)- </span>+<%= form_for @type,+ url: update_type_tab_path(id: @type.id, tab: @tab),+ builder: TabularFormBuilder,+ lang: current_language do |f| %>+ <section class="form--section">+ <div class="grid-block wrap">+ <div class="grid-content small-12 large-6">+ <% if @projects.any? %>+ <fieldset class="form--fieldset" id="type_project_ids">+ <legend class="form--fieldset-legend" >+ <%= t('types.edit.enabled_projects') %>+ </legend>+ <div>+ <div class="form--fieldset-control">+ <span class="form--fieldset-control-container">+ (<%= check_all_links 'type_project_ids' %>)+ </span>+ </div>+ <%= project_nested_ul(@projects) do |p|+ content_tag('label',+ check_box_tag('type[project_ids][]', p.id, @type.projects.include?(p), id: nil) ++ ' ' + h(p), class: 'form--label-with-check-box')+ end %>+ <%= hidden_field_tag('type[project_ids][]', '', id: nil) %></div>- <%= project_nested_ul(@projects) do |p|- content_tag('label',- check_box_tag('type[project_ids][]', p.id, @type.projects.include?(p), id: nil) +- ' ' + h(p), class: 'form--label-with-check-box')- end %>- <%= hidden_field_tag('type[project_ids][]', '', id: nil) %>- </div>- <% end %>+ <% end %>+ </div></div>- </div>-</section>+ </section>-<div class="grid-block">- <div class="generic-table--action-buttons">- <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),- class: '-highlight -with-icon icon-checkmark' %>+ <div class="grid-block">+ <div class="generic-table--action-buttons">+ <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),+ class: '-highlight -with-icon icon-checkmark' %>+ </div></div>-</div>+<% end %>diff --git a/app/views/types/form/_settings.html.erb b/app/views/types/form/_settings.html.erbindex 591b6e931ed..17ebaa9f5b7 100644--- a/app/views/types/form/_settings.html.erb+++ b/app/views/types/form/_settings.html.erb@@ -27,50 +27,55 @@ See docs/COPYRIGHT.rdoc for more details.++#%>-<div class="grid-block">- <div class="grid-content">- <!--[form:type]-->- <div class="form--field -required -wide-label"><%= f.text_field :name, required: true, disabled: @type.is_standard?, container_class: '-middle' %></div>- <div class="form--field -wide-label"><%= f.check_box :is_in_roadmap %></div>- <%= render partial: '/colors/color_autocomplete_field',- locals: {- form: f,- object: @type,- type: 'type',- allow_bright_colors: false,- highlight_text_inline: true,- label: t('types.edit.type_color_text'),- form_field_class: '-wide-label',- container_class: '-slim'- } %>- <div class="form--field -wide-label"><%= f.check_box :is_default %></div>- <div class="form--field -wide-label"><%= f.check_box :is_milestone %></div>+<%= form_for @type,+ url: update_type_tab_path(id: @type.id, tab: @tab),+ builder: TabularFormBuilder,+ lang: current_language do |f| %>+ <div class="grid-block">+ <div class="grid-content">+ <!--[form:type]-->+ <div class="form--field -required -wide-label"><%= f.text_field :name, required: true, disabled: @type.is_standard?, container_class: '-middle' %></div>+ <div class="form--field -wide-label"><%= f.check_box :is_in_roadmap %></div>+ <%= render partial: '/colors/color_autocomplete_field',+ locals: {+ form: f,+ object: @type,+ type: 'type',+ allow_bright_colors: false,+ highlight_text_inline: true,+ label: t('types.edit.type_color_text'),+ form_field_class: '-wide-label',+ container_class: '-slim'+ } %>+ <div class="form--field -wide-label"><%= f.check_box :is_default %></div>+ <div class="form--field -wide-label"><%= f.check_box :is_milestone %></div>- <% if @type.new_record? && @types.any? %>- <div class="form--field -wide-label">- <%= styled_label_tag 'copy_workflow_from', t(:label_copy_workflow_from) %>- <%= styled_select_tag(:copy_workflow_from,- options_from_collection_for_select(@types, :id, :name, params[:copy_workflow_from]),- include_blank: true,- container_class: '-slim') %>- </div>- <% end %>+ <% if @type.new_record? && @types.any? %>+ <div class="form--field -wide-label">+ <%= styled_label_tag 'copy_workflow_from', t(:label_copy_workflow_from) %>+ <%= styled_select_tag(:copy_workflow_from,+ options_from_collection_for_select(@types, :id, :name, params[:copy_workflow_from]),+ include_blank: true,+ container_class: '-slim') %>+ </div>+ <% end %>- <div class="form--field">- <%= f.text_area :description,- class: 'wiki-edit wiki-toolbar',- container_class: '-xxwide',- with_text_formatting: true %>- </div>+ <div class="form--field">+ <%= f.text_area :description,+ class: 'wiki-edit wiki-toolbar',+ container_class: '-xxwide',+ with_text_formatting: true %>+ </div>- <!--[eoform:type]-->+ <!--[eoform:type]-->+ </div></div>-</div>-<div class="grid-block">- <div class="generic-table--action-buttons">- <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),- class: '-highlight -with-icon icon-checkmark' %>+ <div class="grid-block">+ <div class="generic-table--action-buttons">+ <%= styled_button_tag t(@type.new_record? ? :button_create : :button_save),+ class: '-highlight -with-icon icon-checkmark' %>+ </div></div>-</div>+<% end %>diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 85eca59f108..14b93574c89 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -499,6 +499,10 @@ en:includes: "including"requires: "requiring"required: "required by"+ edit:+ form_configuration: "Form Configuration"+ projects: "Projects"+ settings: "Settings"time_entry:activity: 'Activity'diff --git a/frontend/src/app/modules/admin/tabs/content-tabs.component.ts b/frontend/src/app/modules/admin/tabs/content-tabs.component.tsindex 73447c7102c..0229f224ec8 100644--- a/frontend/src/app/modules/admin/tabs/content-tabs.component.ts+++ b/frontend/src/app/modules/admin/tabs/content-tabs.component.ts@@ -41,14 +41,21 @@ import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-texport const contentTabsSelector = 'content-tabs';+interface GonTab {+ name:string;+ partial:string;+ path:string;+ label:string;+}+@Component({selector: contentTabsSelector,templateUrl: '/app/modules/common/tabs/scrollable-tabs.component.html'})export class ContentTabsComponent extends ScrollableTabsComponent {- public gonTabs:{ name:string, partial:string, label:string }[];- public currentTab:{ name:string, partial:string, label:string };+ public gonTabs:GonTab[];+ public currentTab:GonTab;public classes:string[] = ['content--tabs', 'scrollable-tabs'];@@ -62,11 +69,11 @@ export class ContentTabsComponent extends ScrollableTabsComponent {this.currentTab = JSON.parse((this.gon.get('content_tabs') as any).selected);// parse tabs from backend and map them to scrollable tabs structure- this.tabs = this.gonTabs.map((tab:{ name:string, partial:string, label:string }) => {+ this.tabs = this.gonTabs.map((tab:GonTab) => {return {id: tab.name,name: this.I18n.t('js.' + tab.label),- partial: window.location.pathname + '?tab=' + tab.name+ path: tab.path};});diff --git a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.html b/frontend/src/app/modules/common/tabs/scrollable-tabs.component.htmlindex 6c05cd05151..d665783bce0 100644--- a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.html+++ b/frontend/src/app/modules/common/tabs/scrollable-tabs.component.html@@ -3,7 +3,7 @@<li *ngFor="let tab of tabs"[class.selected]="tab.id === currentTabId"[attr.tab-id]="tab.id">- <a [href]="tab.partial || '#'" (click)="clickTab(tab.id)" [textContent]="tab.name"></a>+ <a [href]="tab.path" (click)="clickTab(tab.id)" [textContent]="tab.name"></a></li></ul><div #scrollLeftBtn [hidden]="hideLeftButton"diff --git a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.ts b/frontend/src/app/modules/common/tabs/scrollable-tabs.component.tsindex c7805ae9e10..602a063f335 100644--- a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.ts+++ b/frontend/src/app/modules/common/tabs/scrollable-tabs.component.ts@@ -3,7 +3,7 @@ import {AfterViewInit, Component, ElementRef, ViewChild} from "@angular/core";export interface Tab {id:string;name:string;- partial?:string;+ path?:string;}@Component({diff --git a/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts b/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.tsindex 708b68c4fc0..a2d34686d53 100644--- a/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts+++ b/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts@@ -63,6 +63,7 @@ export class GlobalSearchTabsComponent extends ScrollableTabsComponent implement.tabs$.subscribe((tabs) => {this.tabs = tabs;+ this.tabs.map((tab) => tab.path = '#');});}diff --git a/modules/meeting/app/views/meetings/show.html.erb b/modules/meeting/app/views/meetings/show.html.erbindex 7097fd021cf..6de2772ce9f 100644--- a/modules/meeting/app/views/meetings/show.html.erb+++ b/modules/meeting/app/views/meetings/show.html.erb@@ -88,8 +88,8 @@ See docs/COPYRIGHT.rdoc for more details.</div></div>-<%= render_tabs [{:name => 'agenda', :action => :create_meeting_agendas, :partial => 'meeting_contents/show', :label => :label_meeting_agenda, :content => @meeting.agenda || @meeting.build_agenda, :content_type => "meeting_agenda"},- {:name => 'minutes', :action => :create_meeting_minutes, :partial => 'meeting_contents/show', :label => :label_meeting_minutes, :content => @meeting.minutes || @meeting.build_minutes, :content_type => "meeting_minutes"}] %>+<%= render_tabs [{:name => 'agenda', :action => :create_meeting_agendas, :partial => 'meeting_contents/show', :path => meeting_agenda_path(@meeting), :label => :label_meeting_agenda, :content => @meeting.agenda || @meeting.build_agenda, :content_type => "meeting_agenda"},+ {:name => 'minutes', :action => :create_meeting_minutes, :partial => 'meeting_contents/show', :path => meeting_minutes_path(@meeting), :label => :label_meeting_minutes, :content => @meeting.minutes || @meeting.build_minutes, :content_type => "meeting_minutes"}] %><% if @meeting.journals.changing.present? %><div id="history">