9 lines
327 B
Text
9 lines
327 B
Text
|
%span.pull-right
|
||
|
- if (@page && @page.persisted?)
|
||
|
= link_to history_project_wiki_path(@project, @page), class: "btn btn-grouped" do
|
||
|
Page History
|
||
|
- if can?(current_user, :write_wiki, @project)
|
||
|
= link_to edit_project_wiki_path(@project, @page), class: "btn btn-grouped" do
|
||
|
%i.icon-edit
|
||
|
Edit
|