Merge wiki, wall & snippets under one tab - writeboards

This commit is contained in:
Dmitriy Zaporozhets 2013-03-14 22:24:27 +02:00
parent 753ecbdcec
commit a685624d27
14 changed files with 128 additions and 99 deletions

View file

@ -1,22 +1,25 @@
= render "project_head"
- unless @notes.empty?
%table
%thead
%tr
%th File name
%th
.row
.span3
= render 'writeboards/nav'
.span9
- 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,2 +1,6 @@
%div.wall_page
= render "notes/reversed_notes_with_form"
.row
.span3
= render 'writeboards/nav'
.span9
%div.wall_page
= render "notes/reversed_notes_with_form"