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
|
#for method in methods
|
||||||
<li>
|
<li>
|
||||||
<pre><b>{{ method['name'] ~ method['argdesc'] }}</b>
|
<pre><b>{{ method['name'] ~ method['argdesc'] }}</b>
|
||||||
{{ method['doc'] }}
|
{{ method['doc'] if method['doc'] is not none else '' }}
|
||||||
</pre>
|
</pre>
|
||||||
</li>
|
</li>
|
||||||
#endfor
|
#endfor
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<tr><th>URL</th><td><a href="{{ url }}">repodata</a></td></tr>
|
<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>
|
<tr><th>Repo json</th><td><a href="{{ repo_json }}">repo.json</a></td></tr>
|
||||||
{%- endif %}
|
{%- 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>
|
<tr><th>Number of buildroots: </th><td><a href="buildroots?repoID={{ repo.id }}">{{ numBuildroots }}</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue