minor output compatibility fixes
- suppress "None" in api page - show yes/no for dist repo flag
This commit is contained in:
parent
5a6c6757df
commit
96e7cc1634
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ except koji.GenericError:
|
|||
#for method in methods
|
||||
<li>
|
||||
<pre><b>{{ method['name'] ~ method['argdesc'] }}</b>
|
||||
{{ method['doc'] }}
|
||||
{{ method['doc'] if method['doc'] is not none else '' }}
|
||||
</pre>
|
||||
</li>
|
||||
#endfor
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<tr><th>URL</th><td><a href="{{ url }}">repodata</a></td></tr>
|
||||
<tr><th>Repo json</th><td><a href="{{ repo_json }}">repo.json</a></td></tr>
|
||||
{%- endif %}
|
||||
<tr><th>Dist repo?</th><td class="{{ repo.dist | lower }}">{{ repo.dist }}</td></tr>
|
||||
<tr><th>Dist repo?</th><td class="{{ repo.dist | lower }}">{{ 'yes' if repo.dist else 'no' }}</td></tr>
|
||||
<tr><th>Number of buildroots: </th><td><a href="buildroots?repoID={{ repo.id }}">{{ numBuildroots }}</a></td></tr>
|
||||
</table>
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue