Actualizar plugin Additionals a 3.0.0

This commit is contained in:
Manuel Cillero 2020-11-22 21:30:25 +01:00
parent 3d976f1b3b
commit a26f5567af
399 changed files with 70374 additions and 4093 deletions

View file

@ -1,15 +1,20 @@
.additionals-projects.box
- if list_title
h3 = list_title
ul
- @projects.each do |project|
li.project class="#{cycle('odd', 'even')}"
span[style='font-weight: bold;']
= link_to_project(project)
- if project.homepage?
' :
= link_to(project.homepage, project.homepage, @html_options)
- if with_create_issue && User.current.allowed_to?(:add_issues, project)
= link_to('',
new_project_issue_path(project_id: project),
class: 'icon icon-add', title: l(:label_issue_new))
table.list.projects
- project_tree(@projects, init_level: false) do |project, level|
tr id="project-#{project.id}" class="#{project_list_css_classes project, level}"
td.name
span[style='font-weight: bold;']
- if Redmine::Plugin.installed? 'redmine_reporting'
= project_name_with_icon project
- else
= link_to_project project
- if project.homepage?
' :
= link_to(project.homepage, project.homepage, @html_options)
- if with_create_issue && User.current.allowed_to?(:add_issues, project)
= link_to '',
new_project_issue_path(project_id: project),
class: 'icon icon-add', title: l(:label_issue_new)