Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1032 request page status design (#1046)
* requests views adapted to use a partial to show status tags * partial to show status with stylized tags
- Loading branch information
1 parent
e54181d
commit dda6743
Showing
3 changed files
with
14 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<% case status %> | ||
<% when "pending" %> | ||
<span class="label label-default">Pending</span> | ||
<% when "started" %> | ||
<span class="label label-primary">Started</span> | ||
<% when "fulfilled" %> | ||
<span class="label label-success">Fulfilled</span> | ||
<% else %> | ||
<span class="label label-warning">Errored</span> | ||
<% end %> |
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