footer and stylesheet

Miroslav Suchy msuchy at redhat.com
Thu Sep 26 21:47:00 UTC 2013


On 09/26/2013 11:30 PM, OO wrote:
> I would like to know if this is ok.
>
Nearly good.

You could not use:
+  <a href="/api.html">API</a>
Because copr can be in some namespace and then it would be incorrect 
url. Use:
   {{ url_for('api_ns.api_home') }}
as value for href.

You can find the value of url_for (in this case) in:
   coprs/views/api_ns/__init__.py
   coprs/views/api_ns/api_general.py

And add there link to Home please.

Mirek


More information about the copr-devel mailing list