summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-17 18:23:47 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-03-17 18:23:47 +0000
commit059ad4754c2370658a16eb2d26dd9bbeb1c35b5c (patch)
treef7521f60e45936fb6924a9e8ac67d49cec5704f0 /app/views/projects
parentb5c80f99665f3aa9316b8667ec0fca640f3844d0 (diff)
parentd90c2505862870d10a6c8d268420020814ef608c (diff)
downloadgitlab-ce-059ad4754c2370658a16eb2d26dd9bbeb1c35b5c.tar.gz
Merge branch 'master' into 27574-pipelines-empty-state
* master: (23 commits) Resolve "Extract logic of who should receive notification into separate classes" Remove UJS actions from pipelines tables Added Gitlab::Database.config Fix time-sensitive helper spec Updates realtime documentation for the Frontend Add ability to disable Merge Request URL on push Added labels to the issue web hook documentation blurb in issue template Add a new have_html_escaped_body_text that match an HTML-escaped text Stop CI notification showing when status is nil Refactor award emojis document Do not use Ruby Timeout module in GitLab QA Make sure alias email would never match: Make the test less time sensitive by extending 0.2 Restore sub-nav for empty project Fix Unicode 1.1 emojis Use "branch_name" instead "branch" on V3 branch creation API Fixed eslint Catches errors when generating lists Resolve GitLab QA cold boot problems on entry page ...
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_merge_request_merge_settings.html.haml4
-rw-r--r--app/views/projects/boards/components/_blank_state.html.haml15
-rw-r--r--app/views/projects/boards/components/_board.html.haml2
-rw-r--r--app/views/projects/empty.html.haml1
4 files changed, 6 insertions, 16 deletions
diff --git a/app/views/projects/_merge_request_merge_settings.html.haml b/app/views/projects/_merge_request_merge_settings.html.haml
index 188198c47d5..61420fd0fb6 100644
--- a/app/views/projects/_merge_request_merge_settings.html.haml
+++ b/app/views/projects/_merge_request_merge_settings.html.haml
@@ -13,3 +13,7 @@
= form.label :only_allow_merge_if_all_discussions_are_resolved do
= form.check_box :only_allow_merge_if_all_discussions_are_resolved
%strong Only allow merge requests to be merged if all discussions are resolved
+ .checkbox
+ = form.label :printing_merge_request_link_enabled do
+ = form.check_box :printing_merge_request_link_enabled
+ %strong Show link to create/view merge request when pushing from the command line
diff --git a/app/views/projects/boards/components/_blank_state.html.haml b/app/views/projects/boards/components/_blank_state.html.haml
deleted file mode 100644
index 0af40ddf8fe..00000000000
--- a/app/views/projects/boards/components/_blank_state.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%board-blank-state{ "inline-template" => true,
- "v-if" => 'list.id == "blank"' }
- .board-blank-state
- %p
- Add the following default lists to your Issue Board with one click:
- %ul.board-blank-state-list
- %li{ "v-for" => "label in predefinedLabels" }
- %span.label-color{ ":style" => "{ backgroundColor: label.color } " }
- {{ label.title }}
- %p
- Starting out with the default set of lists will get you right on the way to making the most of your board.
- %button.btn.btn-create.btn-inverted.btn-block{ type: "button", "@click.stop" => "addDefaultLists" }
- Add default lists
- %button.btn.btn-default.btn-block{ type: "button", "@click.stop" => "clearBlankState" }
- Nevermind, I'll use my own
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml
index 72bce4049de..0bca6a786cb 100644
--- a/app/views/projects/boards/components/_board.html.haml
+++ b/app/views/projects/boards/components/_board.html.haml
@@ -32,4 +32,4 @@
":root-path" => "rootPath",
"ref" => "board-list" }
- if can?(current_user, :admin_list, @project)
- = render "projects/boards/components/blank_state"
+ %board-blank-state{ "v-if" => 'list.id == "blank"' }
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 58c085cdb9d..85e442e115c 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -5,6 +5,7 @@
= render 'shared/no_ssh'
= render 'shared/no_password'
+= render "projects/head"
= render "home_panel"
.row-content-block.second-block.center