Welcome to mirror list, hosted at ThFree Co, Russian Federation.

diff.html.haml « wikis « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 67772ec40c1fdb714fefe7ca9a10ca85bf460717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- wiki_page_title @page, _('Changes')
- add_page_specific_style 'page_bundles/wiki'
- commit = @diffs.diffable

.wiki-page-header.top-area.has-sidebar-toggle.flex-column.flex-lg-row
  = wiki_sidebar_toggle_button

  %h1.page-title.gl-font-size-h-display.gl-flex-grow-1
    = link_to_wiki_page @page
    %span.light
      ·
      = _('Changes')

  .nav-controls.pb-md-3.pb-lg-0
    = link_button_to wiki_page_path(@wiki, @page, action: :history), role: 'button', data: { qa_selector: 'page_history_button' } do
      = 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))

= render 'projects/diffs/diffs', diffs: @diffs, diff_page_context: "is-wiki"
= render 'shared/wikis/sidebar'