BigW Consortium Gitlab

_main_links.html.haml 327 Bytes
Newer Older
1
%span.pull-right
2 3
  - if (@page && @page.persisted?)
    = link_to history_project_wiki_path(@project, @page), class: "btn btn-grouped" do
4 5
      Page History
    - if can?(current_user, :write_wiki, @project)
6
      = link_to edit_project_wiki_path(@project, @page), class: "btn btn-grouped" do
7 8
        %i.icon-edit
        Edit