diff --git a/rrs/views.py b/rrs/views.py index ce47003..10508a6 100644 --- a/rrs/views.py +++ b/rrs/views.py @@ -143,9 +143,6 @@ class RecipeListView(ListView): recipe, recipe_upstream_history) if recipe_upstream is None: - if self.upstream_status != 'All': - continue - upstream_status = '' upstream_version = '' else: @@ -157,23 +154,13 @@ class RecipeListView(ListView): if upstream_status == 'Downgrade': upstream_status = 'Unknown' # Downgrade is displayed as Unknown - if self.upstream_status != 'All' and \ - self.upstream_status != upstream_status: - continue - upstream_version = recipe_upstream.version maintainer = RecipeMaintainer.get_maintainer_by_recipe_and_history( recipe, self.recipe_maintainer_history) if maintainer is None: - if self.maintainer_name != 'All': - continue - maintainer_name = '' else: - if self.maintainer_name != 'All' and self.maintainer_name != maintainer.name: - continue - maintainer_name = maintainer.name recipe_list_item = RecipeList(recipe.id, recipe.pn, recipe.summary) diff --git a/templates/rrs/base_toplevel.html b/templates/rrs/base_toplevel.html index 3759186..f97d925 100644 --- a/templates/rrs/base_toplevel.html +++ b/templates/rrs/base_toplevel.html @@ -50,7 +50,7 @@
  • Unknown: {{ recipes_unknown }}
  • - + Export recipe list diff --git a/templates/rrs/maintainers.html b/templates/rrs/maintainers.html index b05babe..acc7c4c 100644 --- a/templates/rrs/maintainers.html +++ b/templates/rrs/maintainers.html @@ -33,10 +33,10 @@ {% if maintainer_count == 0 %}
    No maintainers found
    {% else %} - +
    - + @@ -106,11 +106,33 @@ {% block scripts %} {% if maintainer_count > 0 %} + diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index f68adf8..cdb9c52 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -21,80 +21,36 @@ -
    MaintainerMaintainer Assigned recipes Up-to-date Not updated
    +
    + No recipes found View all recipes +
    +
    + - - + - + {% for r in recipe_list %} - - {% if r.upstream_status == "Up-to-date" %} + + @@ -144,12 +103,154 @@ {% block scripts %} + + {% endblock %}
    Upstream status Recipe VersionUpstream statusUpstream versionUpstream version MaintainerSummarySummary
    {{ r.name }}{{ r.version }} {% elif r.upstream_status == "Not updated" %} @@ -133,6 +90,8 @@ {% endif %} {{ r.upstream_status }} {{ r.name }}{{ r.version }} {{ r.upstream_version }} {{ r.maintainer_name }} {{ r.summary }}