2020-07-28 23:09:34 +05:30
|
|
|
- wiki_page_title @page, _('Changes')
|
2021-01-03 14:25:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/wiki'
|
2020-07-28 23:09:34 +05:30
|
|
|
- commit = @diffs.diffable
|
|
|
|
|
|
|
|
.wiki-page-header.top-area.has-sidebar-toggle.flex-column.flex-lg-row
|
|
|
|
= wiki_sidebar_toggle_button
|
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display.gl-flex-grow-1
|
2021-03-08 18:12:59 +05:30
|
|
|
= link_to_wiki_page @page
|
|
|
|
%span.light
|
|
|
|
·
|
|
|
|
= _('Changes')
|
2020-07-28 23:09:34 +05:30
|
|
|
|
|
|
|
.nav-controls.pb-md-3.pb-lg-0
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to wiki_page_path(@wiki, @page, action: :history), class: 'btn gl-button', role: 'button', data: { qa_selector: 'page_history_button' } do
|
2020-07-28 23:09:34 +05:30
|
|
|
= s_('Wiki|Page history')
|
|
|
|
|
|
|
|
.page-content-header
|
|
|
|
.header-main-content
|
|
|
|
%strong= markdown_field(commit, :title)
|
|
|
|
%span.d-none.d-sm-inline= _('authored')
|
|
|
|
#{time_ago_with_tooltip(commit.authored_date)}
|
|
|
|
%span= s_('ByAuthor|by')
|
|
|
|
= author_avatar(commit, size: 24, has_tooltip: false)
|
|
|
|
%strong
|
|
|
|
= commit_author_link(commit, avatar: true, size: 24)
|
|
|
|
- if commit.description.present?
|
|
|
|
%pre.commit-description<
|
|
|
|
= preserve(markdown_field(commit, :description))
|
|
|
|
|
2023-07-09 08:55:56 +05:30
|
|
|
= render 'projects/diffs/diffs', diffs: @diffs, diff_page_context: "is-wiki"
|
2020-07-28 23:09:34 +05:30
|
|
|
= render 'shared/wikis/sidebar'
|