0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Added in clicks URLs for the members table under clicked tab

refs https://github.com/TryGhost/Team/issues/2149
This commit is contained in:
James Morris 2022-10-25 17:50:23 +01:00
parent d4e336dc2a
commit 176af30788
2 changed files with 17 additions and 1 deletions

View file

@ -40,7 +40,7 @@
</div>
</div>
{{else}}
<div class="gh-dashboard-list-body {{if (eq this.eventType "conversion") "gh-dashboard-list-four-cols" }}">
<div class="gh-dashboard-list-body {{if (eq this.eventType "clicked") "gh-dashboard-list-larger-cols" }} {{if (eq this.eventType "conversion") "gh-dashboard-list-four-cols" }}">
{{#each eventsFetcher.data as |event|}}
{{#let (parse-member-event event) as |parsedEvent|}}
<div class="gh-dashboard-list-item">
@ -53,6 +53,10 @@
<span class="gh-dashboard-list-subtext">
<span class="gh-members-activity-description">
<span class="gh-members-activity-event-text">{{capitalize-first-letter parsedEvent.action}}</span>
{{#if parsedEvent.url}}
<span class="gh-members-activity-event-dash"></span>
<a class="ghost-members-activity-object-link" href="{{parsedEvent.url}}" target="_blank" rel="noopener noreferrer">{{parsedEvent.description}}</a>
{{/if}}
</span>
</span>
</div>

View file

@ -1669,10 +1669,22 @@ a.gh-post-list-cta.stats.is-hovered:hover > * {
grid-template-columns: 40% 40% 20%;
}
.gh-tabs-analytics .gh-dashboard-list-larger-cols .gh-dashboard-list-item {
grid-template-columns: 26% 54% 20%;
}
.gh-tabs-analytics .gh-dashboard-list-four-cols .gh-dashboard-list-item {
grid-template-columns: 35% 25% 20% 20%;
}
.gh-post-activity-feed .gh-members-activity-description a {
font-weight: 500;
}
.gh-post-activity-feed .gh-members-activity-description a:hover {
color: #697989;
}
@media (max-width: 1200px) {
.gh-tabs-analytics .tab{
padding: 8px 10px;