#3663 Make the term we call a Project configurable by the theme
Merged by pingou. Opened by ryanlerch.
ryanlerch/pagure project_vs_package  into  master

Download 3663.patch

By default, Pagure refers to a code project or repository throughout
as a "Project". In some cases, when running an instance of Pagure,
it would be desirable to refer to this as something else, like simply
a "repository" or in the case of src.fedoraproject.org, a "package".

This change abstracts out this term, (and the icon used to represent
a 'project') and adds the ability to set two new optional variables
in the theme.html to change these to whatever the theme maker wants:

This also updates the theme for srcfpo to change these to 'Package' and
'fa-archive'

projecticon no?

rebased onto ac50252050949d8f73b96bc1c6be9b43b2c18d99

rebased onto 0c654b7796e6b82742f3bbaba9aaac258c180d69

Pretty please pagure-ci rebuild

Tests are now passing \ó/.

Let's merge :)

Pull-Request has been merged by pingou

Metadata