szydell / copr / copr

Forked from copr/copr 4 years ago
Clone

41d5a68 frontend: add new template macro owner_url

Authored and Committed by praiskup 4 years ago
    frontend: add new template macro owner_url
    
    This simplifies and de-duplicates the repo_file_href and copr_url
    macros.  Note that for /repo/ routes we can not use copr_url, because
    that is adding unwanted `coprname=` argument, which is not accepted by
    that particular route and leads to additional query string.