Use wiki tab for wiki, wall, snippets

This commit is contained in:
Dmitriy Zaporozhets 2013-03-15 14:20:03 +02:00
parent 39bbdc468f
commit 35ad4fe7db
10 changed files with 87 additions and 111 deletions

View file

@ -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

View file

@ -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"