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

Merge remote-tracking branch 'origin/master' into ce-to-ee-2017-09-27

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parents 68961480 989ea86a
...@@ -102,7 +102,7 @@ $(() => { ...@@ -102,7 +102,7 @@ $(() => {
eventHub.$off('updateTokens', this.updateTokens); eventHub.$off('updateTokens', this.updateTokens);
}, },
mounted () { mounted () {
this.filterManager = new FilteredSearchBoards(Store.filter, true); this.filterManager = new FilteredSearchBoards(Store.filter, true, [(this.milestoneTitle ? 'milestone' : null)]);
this.filterManager.setup(); this.filterManager.setup();
Store.disabled = this.disabled; Store.disabled = this.disabled;
......
...@@ -80,6 +80,11 @@ ...@@ -80,6 +80,11 @@
.boards-list { .boards-list {
height: calc(100vh - 50px); height: calc(100vh - 50px);
} }
.issue-boards-sidebar {
height: 100%;
top: 0;
}
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
":current-board" => current_board_json, ":current-board" => current_board_json,
"milestone-path" => milestones_filter_path(milestone_filter_opts) } "milestone-path" => milestones_filter_path(milestone_filter_opts) }
.dropdown .dropdown
%button.dropdown-menu-toggle{ "@click" => "loadBoards", %button.dropdown-menu-toggle{ "v-on:click" => "loadBoards",
data: { toggle: "dropdown" } } data: { toggle: "dropdown" } }
{{ board.name }} {{ board.name }}
= icon("chevron-down") = icon("chevron-down")
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.dropdown-title .dropdown-title
%button.dropdown-title-button.dropdown-menu-back{ type: "button", %button.dropdown-title-button.dropdown-menu-back{ type: "button",
aria: { label: "Go back" }, aria: { label: "Go back" },
"@click.stop.prevent" => "showPage('')", "v-on:click.stop.prevent" => "showPage('')",
"v-if" => "currentPage !== ''" } "v-if" => "currentPage !== ''" }
= icon("arrow-left") = icon("arrow-left")
{{ title }} {{ title }}
...@@ -45,23 +45,23 @@ ...@@ -45,23 +45,23 @@
method: :delete do method: :delete do
Delete Delete
%button.btn.btn-default.pull-right{ type: "button", %button.btn.btn-default.pull-right{ type: "button",
"@click.stop.prevent" => "showPage('')" } "v-on:click.stop.prevent" => "showPage('')" }
Cancel Cancel
- if can?(current_user, :admin_board, parent) - if can?(current_user, :admin_board, parent)
.dropdown-footer{ "v-if" => "currentPage === ''" } .dropdown-footer{ "v-if" => "currentPage === ''" }
%ul.dropdown-footer-list %ul.dropdown-footer-list
- if parent.feature_available?(:multiple_issue_boards) - if parent.feature_available?(:multiple_issue_boards)
%li %li
%a{ "href" => "#", "@click.stop.prevent" => "showPage('new')" } %a{ "href" => "#", "v-on:click.stop.prevent" => "showPage('new')" }
Create new board Create new board
%li %li
%a{ "href" => "#", "@click.stop.prevent" => "showPage('edit')" } %a{ "href" => "#", "v-on:click.stop.prevent" => "showPage('edit')" }
Edit board name Edit board name
- if parent.issue_board_milestone_available?(current_user) - if parent.issue_board_milestone_available?(current_user)
%li %li
%a{ "href" => "#", "@click.stop.prevent" => "showPage('milestone')" } %a{ "href" => "#", "v-on:click.stop.prevent" => "showPage('milestone')" }
Edit board milestone Edit board milestone
%li{ "v-if" => "showDelete" } %li{ "v-if" => "showDelete" }
%a{ "href" => "#", "@click.stop.prevent" => "showPage('delete')" } %a{ "href" => "#", "v-on:click.stop.prevent" => "showPage('delete')" }
%span.text-danger %span.text-danger
Delete board Delete board
.board-selector-page-two .board-selector-page-two
%form{ "@submit.prevent" => "submit" } %form{ "v-on:submit.prevent" => "submit" }
.dropdown-content .dropdown-content
%input{ type: "hidden", %input{ type: "hidden",
id: "board-milestone", id: "board-milestone",
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
%label.label-light{ for: "board-milestone" } %label.label-light{ for: "board-milestone" }
Board milestone Board milestone
%button.dropdown-menu-toggle.wide{ type: "button", %button.dropdown-menu-toggle.wide{ type: "button",
"@click.stop.prevent" => "loadMilestones($event)" } "v-on:click.stop.prevent" => "loadMilestones($event)" }
{{ milestoneToggleText }} {{ milestoneToggleText }}
= icon("chevron-down") = icon("chevron-down")
.dropdown-menu.dropdown-menu-selectable{ "v-if" => "milestoneDropdownOpen", .dropdown-menu.dropdown-menu-selectable{ "v-if" => "milestoneDropdownOpen",
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
%li{ "v-for" => "milestone in extraMilestones" } %li{ "v-for" => "milestone in extraMilestones" }
%a{ href: "#", %a{ href: "#",
":class" => "{ 'is-active': milestone.id === board.milestone_id }", ":class" => "{ 'is-active': milestone.id === board.milestone_id }",
"@click.stop.prevent" => "selectMilestone(milestone)" } "v-on:click.stop.prevent" => "selectMilestone(milestone)" }
{{ milestone.title }} {{ milestone.title }}
%li.divider %li.divider
%li{ "v-for" => "milestone in milestones" } %li{ "v-for" => "milestone in milestones" }
%a{ href: "#", %a{ href: "#",
":class" => "{ 'is-active': milestone.id === board.milestone_id }", ":class" => "{ 'is-active': milestone.id === board.milestone_id }",
"@click.stop.prevent" => "selectMilestone(milestone)" } "v-on:click.stop.prevent" => "selectMilestone(milestone)" }
{{ milestone.title }} {{ milestone.title }}
= dropdown_loading = dropdown_loading
%span %span
...@@ -47,5 +47,5 @@ ...@@ -47,5 +47,5 @@
"ref" => "'submit-btn'" } "ref" => "'submit-btn'" }
{{ buttonText }} {{ buttonText }}
%button.btn.btn-default.pull-right{ type: "button", %button.btn.btn-default.pull-right{ type: "button",
"@click.stop.prevent" => "cancel" } "v-on:click.stop.prevent" => "cancel" }
Cancel Cancel
...@@ -4,7 +4,7 @@ namespace :gettext do ...@@ -4,7 +4,7 @@ namespace :gettext do
# Customize list of translatable files # Customize list of translatable files
# See: https://github.com/grosser/gettext_i18n_rails#customizing-list-of-translatable-files # See: https://github.com/grosser/gettext_i18n_rails#customizing-list-of-translatable-files
def files_to_translate def files_to_translate
folders = %W(app lib config #{locale_path}).join(',') folders = %W(ee app lib config #{locale_path}).join(',')
exts = %w(rb erb haml slim rhtml js jsx vue handlebars hbs mustache).join(',') exts = %w(rb erb haml slim rhtml js jsx vue handlebars hbs mustache).join(',')
Dir.glob( Dir.glob(
......
...@@ -8,8 +8,8 @@ msgid "" ...@@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitlab 1.0.0\n" "Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-27 11:10+0100\n" "POT-Creation-Date: 2017-09-27 16:26+0200\n"
"PO-Revision-Date: 2017-09-27 11:10+0100\n" "PO-Revision-Date: 2017-09-27 16:26+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
...@@ -158,6 +158,60 @@ msgstr "" ...@@ -158,6 +158,60 @@ msgstr ""
msgid "AutoDevOps|Learn more in the %{link_to_documentation}" msgid "AutoDevOps|Learn more in the %{link_to_documentation}"
msgstr "" msgstr ""
msgid "Billing"
msgstr ""
msgid "BillingPlans|%{group_name} is currently on the %{plan_link} plan."
msgstr ""
msgid "BillingPlans|Automatic downgrade and upgrade to some plans is currently not available."
msgstr ""
msgid "BillingPlans|Current plan"
msgstr ""
msgid "BillingPlans|Customer Support"
msgstr ""
msgid "BillingPlans|Learn more about each plan by reading our %{faq_link}."
msgstr ""
msgid "BillingPlans|Manage plan"
msgstr ""
msgid "BillingPlans|Please contact %{customer_support_link} in that case."
msgstr ""
msgid "BillingPlans|See all %{plan_name} features"
msgstr ""
msgid "BillingPlans|This group uses the plan associated with its parent group."
msgstr ""
msgid "BillingPlans|To manage the plan for this group, visit the billing section of %{parent_billing_page_link}."
msgstr ""
msgid "BillingPlans|Upgrade"
msgstr ""
msgid "BillingPlans|You are currently on the %{plan_link} plan."
msgstr ""
msgid "BillingPlans|frequently asked questions"
msgstr ""
msgid "BillingPlans|monthly"
msgstr ""
msgid "BillingPlans|paid annually at %{price_per_year}"
msgstr ""
msgid "BillingPlans|per user"
msgstr ""
msgid "Billinglans|Downgrade"
msgstr ""
msgid "Board" msgid "Board"
msgstr "" msgstr ""
...@@ -229,6 +283,9 @@ msgstr "" ...@@ -229,6 +283,9 @@ msgstr ""
msgid "Branches|Sort by" msgid "Branches|Sort by"
msgstr "" msgstr ""
msgid "Branches|The branch could not be updated automatically because it has diverged from its upstream counterpart."
msgstr ""
msgid "Branches|The default branch cannot be deleted" msgid "Branches|The default branch cannot be deleted"
msgstr "" msgstr ""
...@@ -241,9 +298,15 @@ msgstr "" ...@@ -241,9 +298,15 @@ msgstr ""
msgid "Branches|To confirm, type %{branch_name_confirmation}:" msgid "Branches|To confirm, type %{branch_name_confirmation}:"
msgstr "" msgstr ""
msgid "Branches|To discard the local changes and overwrite the branch with the upstream version, delete it here and choose 'Update Now' above."
msgstr ""
msgid "Branches|You’re about to permanently delete the protected branch %{branch_name}." msgid "Branches|You’re about to permanently delete the protected branch %{branch_name}."
msgstr "" msgstr ""
msgid "Branches|diverged from upstream"
msgstr ""
msgid "Branches|merged" msgid "Branches|merged"
msgstr "" msgstr ""
...@@ -402,6 +465,9 @@ msgstr "" ...@@ -402,6 +465,9 @@ msgstr ""
msgid "Contributors" msgid "Contributors"
msgstr "" msgstr ""
msgid "Copy SSH public key to clipboard"
msgstr ""
msgid "Copy URL to clipboard" msgid "Copy URL to clipboard"
msgstr "" msgstr ""
...@@ -619,6 +685,9 @@ msgstr "" ...@@ -619,6 +685,9 @@ msgstr ""
msgid "GPG Keys" msgid "GPG Keys"
msgstr "" msgstr ""
msgid "Geo Nodes"
msgstr ""
msgid "Git storage health information has been reset" msgid "Git storage health information has been reset"
msgstr "" msgstr ""
...@@ -738,11 +807,17 @@ msgstr "" ...@@ -738,11 +807,17 @@ msgstr ""
msgid "Leave project" msgid "Leave project"
msgstr "" msgstr ""
msgid "License"
msgstr ""
msgid "Limited to showing %d event at most" msgid "Limited to showing %d event at most"
msgid_plural "Limited to showing %d events at most" msgid_plural "Limited to showing %d events at most"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "Locked Files"
msgstr ""
msgid "Median" msgid "Median"
msgstr "" msgstr ""
...@@ -913,6 +988,9 @@ msgstr "" ...@@ -913,6 +988,9 @@ msgstr ""
msgid "Pipeline Schedules" msgid "Pipeline Schedules"
msgstr "" msgstr ""
msgid "Pipeline quota"
msgstr ""
msgid "PipelineCharts|Failed:" msgid "PipelineCharts|Failed:"
msgstr "" msgstr ""
...@@ -1078,6 +1156,9 @@ msgstr "" ...@@ -1078,6 +1156,9 @@ msgstr ""
msgid "ProjectsDropdown|This feature requires browser localStorage support" msgid "ProjectsDropdown|This feature requires browser localStorage support"
msgstr "" msgstr ""
msgid "Push Rules"
msgstr ""
msgid "Push events" msgid "Push events"
msgstr "" msgstr ""
...@@ -1093,6 +1174,9 @@ msgstr "" ...@@ -1093,6 +1174,9 @@ msgstr ""
msgid "RefSwitcher|Tags" msgid "RefSwitcher|Tags"
msgstr "" msgstr ""
msgid "Registry"
msgstr ""
msgid "Related Commits" msgid "Related Commits"
msgstr "" msgstr ""
...@@ -1242,6 +1326,9 @@ msgstr "" ...@@ -1242,6 +1326,9 @@ msgstr ""
msgid "SortOptions|Least popular" msgid "SortOptions|Least popular"
msgstr "" msgstr ""
msgid "SortOptions|Less weight"
msgstr ""
msgid "SortOptions|Milestone" msgid "SortOptions|Milestone"
msgstr "" msgstr ""
...@@ -1251,6 +1338,9 @@ msgstr "" ...@@ -1251,6 +1338,9 @@ msgstr ""
msgid "SortOptions|Milestone due soon" msgid "SortOptions|Milestone due soon"
msgstr "" msgstr ""
msgid "SortOptions|More weight"
msgstr ""
msgid "SortOptions|Most popular" msgid "SortOptions|Most popular"
msgstr "" msgstr ""
...@@ -1290,6 +1380,9 @@ msgstr "" ...@@ -1290,6 +1380,9 @@ msgstr ""
msgid "SortOptions|Start soon" msgid "SortOptions|Start soon"
msgstr "" msgstr ""
msgid "SortOptions|Weight"
msgstr ""
msgid "Source code" msgid "Source code"
msgstr "" msgstr ""
...@@ -1644,6 +1737,9 @@ msgstr "" ...@@ -1644,6 +1737,9 @@ msgstr ""
msgid "Your projects" msgid "Your projects"
msgstr "" msgstr ""
msgid "commit"
msgstr ""
msgid "day" msgid "day"
msgid_plural "days" msgid_plural "days"
msgstr[0] "" msgstr[0] ""
......
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