mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Updated post metrics export button and copy
Refs https://github.com/TryGhost/Team/issues/2780
This commit is contained in:
parent
a9791e95cc
commit
e2a1bd86cb
3 changed files with 9 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 16px;
|
||||
margin: 0 12px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
|
|
@ -351,7 +351,7 @@ svg.gh-btn-icon-right {
|
|||
}
|
||||
|
||||
.gh-btn-action-icon {
|
||||
margin-right: 10px
|
||||
margin-right: 12px
|
||||
}
|
||||
|
||||
.gh-btn-action-icon svg {
|
||||
|
@ -364,8 +364,10 @@ svg.gh-btn-icon-right {
|
|||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.gh-btn-action-icon svg path {
|
||||
stroke: currentColor;
|
||||
.gh-btn-action-icon svg path,
|
||||
.gh-btn-action-icon svg circle {
|
||||
stroke: var(--black);
|
||||
stroke-width: 1.7px;
|
||||
}
|
||||
|
||||
.gh-btn-label-green {
|
||||
|
|
|
@ -45,14 +45,14 @@
|
|||
{{#if this.totalPosts}}
|
||||
<button class="mr2" type="button" {{on "click" this.exportData}} data-test-button="export-posts">
|
||||
{{#if this.showingAll}}
|
||||
<span>Export all posts</span>
|
||||
<span>Export post analytics</span>
|
||||
{{else}}
|
||||
<span>Export selected posts ({{this.totalPosts}})</span>
|
||||
<span>Export post analytics ({{this.totalPosts}})</span>
|
||||
{{/if}}
|
||||
</button>
|
||||
{{else}}
|
||||
<button class="mr2" disabled="true" type="button" data-test-button="export-posts">
|
||||
<span>Export selected posts (0)</span>
|
||||
<span>Export post analytics (0)</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue