blob: 2fff70cdc741845eab4a4f0fa1f9580c9d1ce677 (
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
33
34
35
36
|
- referenced_users = local_assigns.fetch(:referenced_users, nil)
- if @merge_request&.discussion_locked?
.issuable-note-warning
= sprite_icon('lock', css_class: 'icon')
%span
= _('This merge request is locked.')
= _('Only project members can comment.')
.md-area.position-relative
.md-header
= gl_tabs_nav({ class: 'clearfix nav-links'}) do
%li.md-header-tab.active
%button.js-md-write-button{ class: 'gl-py-3!' }
= _("Write")
%li.md-header-tab
%button.js-md-preview-button{ class: 'gl-py-3!' }
= _("Preview")
%li.md-header-toolbar.active.gl-py-2
= render 'shared/blob/markdown_buttons', show_fullscreen_button: true
.md-write-holder
= yield
.md.md-preview-holder.js-md-preview.hide{ data: { url: url } }
.referenced-commands.hide
- if referenced_users
.referenced-users.hide
%span
= sprite_icon('warning-solid')
You are about to add
%strong
%span.js-referenced-users-count 0
people
to the discussion. Proceed with caution.
|