dashboard updated, links from project to dasdhboard
This commit is contained in:
parent
69e0ea6265
commit
9ad444f02e
5 changed files with 31 additions and 6 deletions
|
@ -10,6 +10,11 @@
|
|||
- item_code = issue.author.email
|
||||
- link_item_name = truncate(issue.title, :length => 50)
|
||||
- link_to_item = project_issue_path(@project, issue)
|
||||
- when "Snippet"
|
||||
- css_class = "dash_snippet"
|
||||
- item_code = parent.author.email
|
||||
- link_item_name = parent.title
|
||||
- link_to_item = project_snippet_path(@project, parent)
|
||||
- when "Commit"
|
||||
- css_class = "dash_commit"
|
||||
- commit = parent
|
||||
|
@ -33,13 +38,15 @@
|
|||
%div.message
|
||||
= image_tag gravatar_icon(note.author.email), :class => "left", :width => 24, :style => "padding-right:5px;"
|
||||
%p{:style => "margin-bottom: 3px;"}
|
||||
%span.author
|
||||
= note.author.name
|
||||
= link_to truncate(note.note, :length => 200), link_to_item + "#note_#{note.id}"
|
||||
- if note.attachment.url
|
||||
%br
|
||||
Attachment:
|
||||
= link_to note.attachment_identifier, note.attachment.url
|
||||
%br
|
||||
%span
|
||||
-#%span
|
||||
%span
|
||||
[ #{note.author.name} ]
|
||||
%cite
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
%div{ :class => "project", :url => project_path(project) }
|
||||
%h2
|
||||
= image_tag gravatar_icon(project.name), :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||
= "/" + project.code
|
||||
= link_to ("/" + project.code), project_path(project), :style => "text-decoration:none"
|
||||
%p= project.name
|
||||
%p= project.url_to_repo
|
||||
-#%p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue