forked from CMU-313/cmu-313-f24-nodebb-f24-NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from CMU-313/add-visual-indicators-for-status
Add UI for displaying question status as 'Resolved' or 'Not Resolved'
- Loading branch information
Showing
3 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
data-tid="{topics.tid}" data-index="{topics.index}" data-cid="{topics.cid}" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" | ||
<tr data-tid="{tid}" data-index="{index}" data-cid="{cid}" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> | ||
|
||
<td class="text-center"> | ||
<!-- Resolved/Not Resolved Display --> | ||
{{{ if resolved }}} | ||
<span class="badge badge-success"> | ||
<i class="fa fa-check-circle"></i> Resolved | ||
</span> | ||
{{{ else }}} | ||
<span class="badge badge-secondary"> | ||
<i class="fa fa-times-circle"></i> Not Resolved | ||
</span> | ||
{{{ end }}} | ||
</td> | ||
|
||
</tr> |