Commit 74cecce5 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'extra-ee-specific-lines-from-discussion-views' into 'master'

Extract EE-specific lines from discussion views

See merge request gitlab-org/gitlab-ce!19831
parents 39a1f26b dbbc7d53
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
Unfortunately, your email message to GitLab could not be processed. Unfortunately, your email message to GitLab could not be processed.
= markdown @reason = markdown @reason
= render_if_exists 'shared/additional_email_text'
Unfortunately, your email message to GitLab could not be processed. Unfortunately, your email message to GitLab could not be processed.
\ \
= @reason = @reason
= render_if_exists 'shared/additional_email_text'
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
%p %p
Assignee: #{@merge_request.assignee_name} Assignee: #{@merge_request.assignee_name}
= render_if_exists 'notify/merge_request_approvers', merge_request: @merge_request
- if @merge_request.description - if @merge_request.description
%div %div
= markdown(@merge_request.description, pipeline: :email, author: @merge_request.author) = markdown(@merge_request.description, pipeline: :email, author: @merge_request.author)
...@@ -5,6 +5,6 @@ New Merge Request <%= @merge_request.to_reference %> ...@@ -5,6 +5,6 @@ New Merge Request <%= @merge_request.to_reference %>
<%= merge_path_description(@merge_request, 'to') %> <%= merge_path_description(@merge_request, 'to') %>
Author: <%= @merge_request.author_name %> Author: <%= @merge_request.author_name %>
Assignee: <%= @merge_request.assignee_name %> Assignee: <%= @merge_request.assignee_name %>
<%= render_if_exists 'notify/merge_request_approvers', merge_request: @merge_request %>
<%= @merge_request.description %> <%= @merge_request.description %>
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
= view_on_environment_button(@commit.sha, @path, @environment) if @environment = view_on_environment_button(@commit.sha, @path, @environment) if @environment
.btn-group{ role: "group" }< .btn-group{ role: "group" }<
= render_if_exists 'projects/blob/header_file_locks_link'
= edit_blob_button = edit_blob_button
= ide_edit_button = ide_edit_button
- if current_user - if current_user
...@@ -18,3 +19,4 @@ ...@@ -18,3 +19,4 @@
= delete_blob_link = delete_blob_link
= render 'projects/fork_suggestion' = render 'projects/fork_suggestion'
= render_if_exists 'projects/blob/header_file_locks', project: @project, path: @path
...@@ -69,6 +69,8 @@ ...@@ -69,6 +69,8 @@
.wiki .wiki
= markdown_field(@milestone, :description) = markdown_field(@milestone, :description)
= render_if_exists 'shared/milestones/burndown', milestone: @milestone, project: @project
- if can?(current_user, :read_issue, @project) && @milestone.total_items_count(current_user).zero? - if can?(current_user, :read_issue, @project) && @milestone.total_items_count(current_user).zero?
.alert.alert-success.prepend-top-default .alert.alert-success.prepend-top-default
%span Assign some issues to this milestone. %span Assign some issues to this milestone.
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
row.find("td.tree-time-ago").html('#{escape_javascript time_ago_with_tooltip(commit.committed_date)}'); row.find("td.tree-time-ago").html('#{escape_javascript time_ago_with_tooltip(commit.committed_date)}');
row.find("td.tree-commit").html('#{escape_javascript render("projects/tree/tree_commit_column", commit: commit)}'); row.find("td.tree-commit").html('#{escape_javascript render("projects/tree/tree_commit_column", commit: commit)}');
= render_if_exists 'projects/refs/logs_tree_lock_label', lock_label: content_data[:lock_label]
- if @more_log_url - if @more_log_url
:plain :plain
if($('#tree-slider').length) { if($('#tree-slider').length) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment