From fadf90c61eaedc7d3f9b38f8f749816e9985b262 Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Wed, 12 Apr 2023 17:18:01 +0100 Subject: [PATCH] Updated post list context menu Refs https://github.com/TryGhost/Team/issues/2923 --- .../components/posts-list/context-menu.hbs | 12 +++---- .../app/components/posts-list/list-item.hbs | 2 +- .../posts-list/modals/delete-posts.hbs | 2 +- .../posts-list/modals/edit-posts-access.hbs | 1 - .../posts-list/modals/unpublish-posts.hbs | 4 +-- .../admin/app/styles/components/dropdowns.css | 31 ++++++++++++++++++- ghost/admin/app/styles/layouts/content.css | 9 +++--- ghost/admin/app/styles/layouts/users.css | 5 +++ ghost/admin/app/styles/patterns/global.css | 2 +- ghost/admin/public/assets/icons/lock.svg | 6 ++-- ghost/admin/public/assets/icons/star-fill.svg | 4 +++ ghost/admin/public/assets/icons/star.svg | 5 +-- ghost/admin/public/assets/icons/undo.svg | 5 +++ 13 files changed, 66 insertions(+), 22 deletions(-) create mode 100644 ghost/admin/public/assets/icons/star-fill.svg create mode 100644 ghost/admin/public/assets/icons/undo.svg diff --git a/ghost/admin/app/components/posts-list/context-menu.hbs b/ghost/admin/app/components/posts-list/context-menu.hbs index 2943ac1da4..da82c57288 100644 --- a/ghost/admin/app/components/posts-list/context-menu.hbs +++ b/ghost/admin/app/components/posts-list/context-menu.hbs @@ -3,7 +3,7 @@ {{#if this.canUnpublishSelection}}
  • {{/if}} @@ -11,31 +11,31 @@ {{#if this.shouldFeatureSelection }}
  • {{else}}
  • {{/if}} {{/if}}
  • {{#if this.session.user.isAdmin}}
  • {{/if}} diff --git a/ghost/admin/app/components/posts-list/list-item.hbs b/ghost/admin/app/components/posts-list/list-item.hbs index a4c84efbd8..9e4565e9b2 100644 --- a/ghost/admin/app/components/posts-list/list-item.hbs +++ b/ghost/admin/app/components/posts-list/list-item.hbs @@ -48,7 +48,7 @@

    {{#if @post.featured}} - {{svg-jar "star" class="gh-featured-post"}} + {{svg-jar "star-fill" class="gh-featured-post"}} {{/if}} {{@post.title}} {{#if @post.lexical}} diff --git a/ghost/admin/app/components/posts-list/modals/delete-posts.hbs b/ghost/admin/app/components/posts-list/modals/delete-posts.hbs index 089ed0154a..9375273249 100644 --- a/ghost/admin/app/components/posts-list/modals/delete-posts.hbs +++ b/ghost/admin/app/components/posts-list/modals/delete-posts.hbs @@ -1,6 +1,6 @@