Skip to content

Commit

Permalink
Refining update status messages (#461)
Browse files Browse the repository at this point in the history
* colored messages

* moved status message location

* moved status
  • Loading branch information
samsmithnz authored Jun 14, 2023
1 parent 3f292b7 commit e456b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RepoGovernance.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@
}
}
<br>
<span class="lastUpdatedText">Last updated: </span>
@if (item.LastUpdatedMessage != null)
{
<i class="bi bi-info-circle" title="@item.LastUpdatedMessage"></i>
<i class="bi bi-info-circle" style="color:red" title="@item.LastUpdatedMessage"></i>
}
<span class="lastUpdatedText">Last updated: </span>
@if (@item.LastUpdated > DateTime.Now.AddDays(-7))
{
<span class="lastUpdatedText">@item.LastUpdated.ToString("dd-MMM-yyyy HH:mmtt")</span>
Expand Down

0 comments on commit e456b5e

Please sign in to comment.