mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -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;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: 0 16px;
|
margin: 0 12px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -351,7 +351,7 @@ svg.gh-btn-icon-right {
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn-action-icon {
|
.gh-btn-action-icon {
|
||||||
margin-right: 10px
|
margin-right: 12px
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn-action-icon svg {
|
.gh-btn-action-icon svg {
|
||||||
|
@ -364,8 +364,10 @@ svg.gh-btn-icon-right {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn-action-icon svg path {
|
.gh-btn-action-icon svg path,
|
||||||
stroke: currentColor;
|
.gh-btn-action-icon svg circle {
|
||||||
|
stroke: var(--black);
|
||||||
|
stroke-width: 1.7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn-label-green {
|
.gh-btn-label-green {
|
||||||
|
|
|
@ -45,14 +45,14 @@
|
||||||
{{#if this.totalPosts}}
|
{{#if this.totalPosts}}
|
||||||
<button class="mr2" type="button" {{on "click" this.exportData}} data-test-button="export-posts">
|
<button class="mr2" type="button" {{on "click" this.exportData}} data-test-button="export-posts">
|
||||||
{{#if this.showingAll}}
|
{{#if this.showingAll}}
|
||||||
<span>Export all posts</span>
|
<span>Export post analytics</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span>Export selected posts ({{this.totalPosts}})</span>
|
<span>Export post analytics ({{this.totalPosts}})</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</button>
|
</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="mr2" disabled="true" type="button" data-test-button="export-posts">
|
<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>
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue