Skip to content

Commit

Permalink
Merge pull request #205 from tommygod3/master
Browse files Browse the repository at this point in the history
Changed process list so version appears on the side
  • Loading branch information
cehbrecht authored Jul 8, 2019
2 parents 5ff6f47 + e61936f commit 014040b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phoenix/processes/templates/processes/list.pt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="media-body">
<div class="pull-right text-muted text-right" style="font-size: 1.0em;">
<span>
<i class="fa fa-star"></i> 3
<i class="fa fa-cogs"></i> v${item.version}
</span>
</div>
<h4 class="media-heading">
Expand Down
3 changes: 2 additions & 1 deletion phoenix/processes/views/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def view(self):
items = []
for process in self.wps.processes:
item = dict(
title="{0.title} {0.processVersion}".format(process),
title=process.title,
version=process.processVersion,
description=getattr(process, 'abstract', ''),
media=get_process_media(process),
url=self.request.route_path('processes_execute',
Expand Down

0 comments on commit 014040b

Please sign in to comment.