Nuevo plugin Additionals 2.0.20
This commit is contained in:
parent
a2a901b71b
commit
93e1e28683
354 changed files with 40514 additions and 0 deletions
15
plugins/additionals/app/views/wiki/_project_macros.html.slim
Executable file
15
plugins/additionals/app/views/wiki/_project_macros.html.slim
Executable file
|
@ -0,0 +1,15 @@
|
|||
.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))
|
Loading…
Add table
Add a link
Reference in a new issue