diff options
author | 2015-01-26 16:59:04 -0600 | |
---|---|---|
committer | 2018-05-04 23:57:51 +1200 | |
commit | 4e00337d93827e351dd12d963e6c88e360ecfc2e (patch) | |
tree | eeffd661a7d50b59f066422d591c1d14f297e347 /templates/rrs/recipes.html | |
parent | a021f8d44147099a151b44442a81340c99f5cfa3 (diff) | |
download | openembedded-core-contrib-4e00337d93827e351dd12d963e6c88e360ecfc2e.tar.gz |
rrs: Add support for Recipe detail page
Recipe detail page gives information about Recipe like summary,
section, license, file, etc. also display's upgrade history.
rrs/models.py: Milestone add get_by_date and rewrite get_current
for use get_by_date and RecipeDistro add get_distros_by_recipe.
rrs/urls.py: Add url for recipe_detail with pk.
rrs/views.py: Add RecipeUpgradeDetail view.
templates/rrs/recipedetail.html: Add recipedetail template.
templates/rrs/recipes.html: Add link to Recipe detail by row.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates/rrs/recipes.html')
-rw-r--r-- | templates/rrs/recipes.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index 4339caadd3..a236ba149a 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -77,7 +77,7 @@ <table class="table table-bordered statustable tablesorter table-hover"> <thead> <tr> - <th class="recipe_column"><a href="#">Recipe</a></th> + <th class="recipe_column">Recipe</th> <th class="version_column muted">Version</th> <th class="upstream_status_column"><b class="caret"></b>Upstream status</th> <th class="upstream_version_column muted">Upstream version</th> @@ -88,7 +88,7 @@ <tbody> {% for r in recipe_list %} <tr> - <td>{{ r.name }}</td> + <td><a href="{% url "recipedetail" r.pk %}">{{ r.name }}</a></td> <td>{{ r.version }}</td> <td>{{ r.upstream_status }}</td> <td>{{ r.upstream_version }}</td> |