]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
fireinfo: Add subsystem to wiki link.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Jan 2011 20:14:49 +0000 (21:14 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Jan 2011 20:14:49 +0000 (21:14 +0100)
www/templates/stasy-model-detail.html
www/webapp/handlers_stasy.py

index 3a1ff98bd51f3c9716733c6e1ce426733337f573..0b55f916dc3f1f593a0cd1bc6461c464f4eaea2f 100644 (file)
@@ -23,6 +23,6 @@
 
        <p>
                {{ _("Go to the wiki") }}:
-               <a href="http://wiki.ipfire.org/{{ lang }}/hardware/fireinfo/{{ vendor_id }}/{{ model_id }}">{{ vendor_name }} - {{ model_name or model_id }}</a>
+               <a href="http://wiki.ipfire.org/{{ lang }}/hardware/fireinfo/{{ bus }}/{{ vendor_id }}/{{ model_id }}">{{ vendor_name }} - {{ model_name or model_id }}</a>
        </p>
 {% end block %}
index 068d9c3ad7f4c6debe5076fc58fcb37ba4307aa9..c67497a280adf49f82654b978e9bc07477a8b029 100644 (file)
@@ -164,7 +164,8 @@ class StasyStatsModelDetail(StasyBaseHandler):
                        vendor_name=vendor_name,
                        model_id=model_id,
                        model_name=model_name,
-                       percentage=percentage)
+                       percentage=percentage,
+                       bus=bus.lower())
 
 
 class AdminFireinfoStatsHandler(StasyBaseHandler):