Skip to content

Commit 6296607

Browse files
Show Sync Log Errors on hover only (#3619)
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
1 parent 460b52f commit 6296607

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pontoon/sync/static/css/sync_log.css

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
width: 160px;
2626
}
2727

28+
.log-list .status[title] {
29+
cursor: help;
30+
}
31+
2832
.log-list.project-sync-log tbody .status {
2933
line-height: 47px;
3034
text-align: left;

pontoon/sync/templates/sync/log_errors.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@ <h4>
3939
{% endif %}
4040
</h4>
4141
</td>
42-
<td class="status {{ format_sync_status_class(sync.status) }}">
42+
<td class="status {{ format_sync_status_class(sync.status) }}" {% if sync.error %}title="{{ sync.error }}"{% endif %}>
4343
{{ format_sync_status_label(sync.status) }}
4444
</td>
4545
<td class="duration" title='{% if sync.end_time %}End: {{ sync.end_time|date("Y-m-d H:i:s") }} UTC{% endif %}' data-sort="{{ format_sync_duration(sync.start_time, sync.end_time, ms=True) }}">
4646
{{ format_sync_duration(sync.start_time, sync.end_time) }}
4747
</td>
4848
</tr>
49-
{% if sync.error %}
50-
<tr class="sync-error-message"><td colspan="4">{{ sync.error }}</td></tr>
51-
{% endif %}
5249
{% endfor %}
5350
</tbody>
5451
</table>

0 commit comments

Comments
 (0)