Skip to content

Commit

Permalink
Remove borders for wiki content. Fix wiki history UI
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information
dzaporozhets committed Dec 29, 2013
1 parent 34b0bea commit 6ee3934
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/projects/wikis/history.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions app/views/projects/wikis/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ee3934

Please sign in to comment.