euscanwww: Displaying unstable versions in package view

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-17 13:18:44 +02:00
parent a85f7e71c1
commit be146163f6
26 changed files with 259 additions and 31 deletions

View File

@ -1,5 +1,5 @@
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
<table id="table" class="display">
<thead>

View File

@ -1,5 +1,5 @@
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
<table id="table" class="display">
<thead>

View File

@ -1,5 +1,5 @@
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
<table id="table" class="display">
<thead>

View File

@ -1,4 +1,4 @@
{% load euscan %}
{% load euscan_tags %}
{% load mul %}
{% load sub %}
{% load div %}

View File

@ -1,4 +1,4 @@
{% load euscan %}
{% load euscan_tags %}
{% load sub %}
{% load div %}
{% load mul %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - Watched categories

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - Watched herds

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - Watched maintainers

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,7 +1,7 @@
{% extends "euscan/_datatable.html" %}
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - Watched packages

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,7 +1,7 @@
{% extends "euscan/_datatable.html" %}
{% load url from future %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - Overlay: {{ overlay }}

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% load url from future %}
{% block title %}

View File

@ -1,6 +1,7 @@
{% extends "euscan/_datatable.html" %}
{% load sub %}
{% load euscan_tags %}
{% load url from future %}
{% block meta %}
@ -98,6 +99,11 @@
{% else %}
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
{% endif %}
{% if version.vtype and not version.vtype|is_stable %}
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
{% endif %}
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
</li>
{% endfor %}
@ -111,6 +117,11 @@
{% for version in upstream %}
<li>
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
{% if version.vtype and not version.vtype|is_stable %}
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
{% endif %}
{{ version.version }} - {{ version.urls }}
</li>
{% endfor %}
@ -134,6 +145,10 @@
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
{% endif %}
{% if version.vtype and not version.vtype|is_stable %}
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
{% endif %}
{{ version }} - {{ version.datetime }}
</li>

View File

@ -1,6 +1,6 @@
{% extends "euscan/_datatable.html" %}
{% load euscan %}
{% load euscan_tags %}
{% block title %}
{{ block.super }} - World Scan