Commit 607d8b79 authored by Valeriy Sizov's avatar Valeriy Sizov

Wiki Style Fixing

parent 71667390
...@@ -189,3 +189,9 @@ $hover: #D9EDF7; ...@@ -189,3 +189,9 @@ $hover: #D9EDF7;
* *
*/ */
@import "sections/editor.scss"; @import "sections/editor.scss";
/**
* Wiki styles
*
*/
@import "sections/wiki.scss";
...@@ -10,10 +10,9 @@ ...@@ -10,10 +10,9 @@
%i.icon-edit %i.icon-edit
Edit Edit
%br %br
.file_holder .file_content.wiki
.file_content.wiki = preserve do
= preserve do = markdown @wiki.content
= markdown @wiki.content
%p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago %p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago
- if can? current_user, :admin_wiki, @project - if can? current_user, :admin_wiki, @project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment