Use wiki tab for wiki, wall, snippets
This commit is contained in:
parent
39bbdc468f
commit
35ad4fe7db
10 changed files with 87 additions and 111 deletions
|
@ -1,25 +1,22 @@
|
|||
.row
|
||||
.span3
|
||||
= render 'writeboards/nav'
|
||||
.span9
|
||||
- unless @notes.empty?
|
||||
%table
|
||||
%thead
|
||||
%tr
|
||||
%th File name
|
||||
%th
|
||||
= render 'wikis/nav'
|
||||
- unless @notes.empty?
|
||||
%table
|
||||
%thead
|
||||
%tr
|
||||
%th File name
|
||||
%th
|
||||
|
||||
- @notes.each do |note|
|
||||
%tr
|
||||
%td
|
||||
= link_to note.attachment.secure_url, target: "_blank" do
|
||||
= image_tag gravatar_icon(note.author_email), class: "avatar s24"
|
||||
= note.attachment_identifier
|
||||
%td
|
||||
Added
|
||||
= time_ago_in_words(note.created_at)
|
||||
ago
|
||||
- else
|
||||
%p.slead All files attached to project wall, issues etc will be displayed here
|
||||
- @notes.each do |note|
|
||||
%tr
|
||||
%td
|
||||
= link_to note.attachment.secure_url, target: "_blank" do
|
||||
= image_tag gravatar_icon(note.author_email), class: "avatar s24"
|
||||
= note.attachment_identifier
|
||||
%td
|
||||
Added
|
||||
= time_ago_in_words(note.created_at)
|
||||
ago
|
||||
- else
|
||||
%p.slead All files attached to project wall, issues etc will be displayed here
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
.row
|
||||
.span3
|
||||
= render 'writeboards/nav'
|
||||
.span9
|
||||
%div.wall_page
|
||||
= render "notes/reversed_notes_with_form"
|
||||
= render 'wikis/nav'
|
||||
%div.wall_page
|
||||
= render "notes/reversed_notes_with_form"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue