diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 07:08:36 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 07:08:36 +0000 |
commit | 48aff82709769b098321c738f3444b9bdaa694c6 (patch) | |
tree | e00c7c43e2d9b603a5a6af576b1685e400410dee /app/views/dashboard/todos | |
parent | 879f5329ee916a948223f8f43d77fba4da6cd028 (diff) | |
download | gitlab-ce-48aff82709769b098321c738f3444b9bdaa694c6.tar.gz |
Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42
Diffstat (limited to 'app/views/dashboard/todos')
-rw-r--r-- | app/views/dashboard/todos/_todo.html.haml | 10 | ||||
-rw-r--r-- | app/views/dashboard/todos/index.html.haml | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/app/views/dashboard/todos/_todo.html.haml b/app/views/dashboard/todos/_todo.html.haml index 82abb9b3b8a..6fb387ecca3 100644 --- a/app/views/dashboard/todos/_todo.html.haml +++ b/app/views/dashboard/todos/_todo.html.haml @@ -2,7 +2,7 @@ .todo-avatar = author_avatar(todo, size: 40) - .todo-item.todo-block.align-self-center + .todo-item.todo-block.align-self-center{ data: { qa_selector: "todo_item_container" } } .todo-title - if todo_author_display?(todo) = todo_target_state_pill(todo) @@ -13,7 +13,7 @@ - else (removed) - %span.title-item.action-name + %span.title-item.action-name{ data: { qa_selector: "todo_action_name_content" } } = todo_action_name(todo) %span.title-item.todo-label.todo-target-link @@ -22,7 +22,7 @@ - else = _("(removed)") - %span.title-item.todo-target-title + %span.title-item.todo-target-title{ data: { qa_selector: "todo_target_title_content" } } = todo_target_title(todo) %span.title-item.todo-project.todo-label @@ -31,7 +31,7 @@ - if todo.self_assigned? %span.title-item.action-name - to yourself + = todo_self_addressing(todo) %span.title-item · @@ -57,5 +57,5 @@ - else .todo-actions = link_to restore_dashboard_todo_path(todo), method: :patch, class: 'btn btn-loading d-flex align-items-center js-add-todo', data: { href: restore_dashboard_todo_path(todo) } do - Add a To Do + Add a to do %span.spinner.ml-1 diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml index 9c6a6be1bc3..56506370ee0 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -3,7 +3,7 @@ - header_title _("To-Do List"), dashboard_todos_path = render_dashboard_gold_trial(current_user) -= stylesheet_link_tag 'page_bundles/todos' +- add_page_specific_style 'page_bundles/todos' .page-title-holder.d-flex.align-items-center %h1.page-title= _('To-Do List') @@ -83,7 +83,7 @@ .todos-list-container.js-todos-all - if @todos.any? - .js-todos-list-container + .js-todos-list-container{ data: { qa_selector: "todos_list_container" } } .js-todos-options{ data: { per_page: @todos.limit_value, current_page: @todos.current_page, total_pages: @todos.total_pages } } .card.card-without-border.card-without-margin %ul.content-list.todos-list |