OSDN Git Service

Remove borders for wiki content. Fix wiki history UI
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 29 Dec 2013 16:13:16 +0000 (18:13 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 29 Dec 2013 16:13:16 +0000 (18:13 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/wikis/history.html.haml
app/views/projects/wikis/show.html.haml

index cb79540..c9c6132 100644 (file)
@@ -3,7 +3,7 @@
   %span.light History for
   = link_to @wiki.title.titleize, project_wiki_path(@project, @wiki)
 
-%table
+%table.table
   %thead
     %tr
       %th Page version
index 0ec9892..3d00940 100644 (file)
@@ -7,9 +7,14 @@
     This is an old version of this page.
     You can view the #{link_to "most recent version", project_wiki_path(@project, @wiki)} or browse the #{link_to "history", history_project_wiki_path(@project, @wiki)}.
 
-.file-holder
-  .file-content.wiki
+%hr
+
+.wiki-holder
+  .wiki
     = preserve do
       = render_wiki_content(@wiki)
 
-%p.span Last edited by #{commit_author_link(@wiki.commit, avatar: true, size: 16)} #{time_ago_with_tooltip(@wiki.commit.created_at)} ago
+%hr
+
+.wiki-last-edit-by
+  Last edited by #{commit_author_link(@wiki.commit, avatar: true, size: 16)} #{time_ago_with_tooltip(@wiki.commit.created_at)} ago