Skip to content

Commit 5464c24

Browse files
committed
👌 IMPROVE: Favorited instead of Favored - Client name on tasks column instead of tooltip
1 parent 40a4de6 commit 5464c24

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

assets/css/wpcable.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,10 @@ div#TB_window {
662662
pointer-events: none;
663663
}
664664

665+
.task-list .list-item .col-client {
666+
text-align: center;
667+
}
668+
665669
.task-list .list-item .col-client img {
666670
width: 40px;
667671
border-radius: 40px;

functions/admin-tasks.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,7 @@ class="list-item state-{{{ data.state }}}<# if (data.preferred ) { #> task-prefe
263263
data-age="{{{ staleHours }}}"
264264
>
265265
<td class="col-client">
266-
<span class="tooltip right autosize" tabindex="0">
267-
<div class="tooltip-text">{{{ data.client_name }}}</div>
268-
<img src="{{{ data.avatar }}}" />
269-
</span>
266+
<div><img src="{{{ data.avatar }}}" /></div><div>{{{ data.client_name }}}</div>
270267
</td>
271268
<td class="col-activity">
272269
<# if ( data.last_activity > 0 ) { #>
@@ -324,7 +321,7 @@ class="list-item state-{{{ data.state }}}<# if (data.preferred ) { #> task-prefe
324321
<# } #>
325322
<# if ( data.favored ) { #>
326323
<span class="tooltip bottom small autosize" tabindex="0">
327-
<span class="tooltip-text"><?php esc_html_e( 'Favored', 'wpcable' ); ?></span>
324+
<span class="tooltip-text"><?php esc_html_e( 'Favorited', 'wpcable' ); ?></span>
328325
️❤️
329326
</span>
330327
<# } #>

0 commit comments

Comments
 (0)