diff --git a/templates/device.html b/templates/device.html
index 69afdac5..80d9b493 100644
--- a/templates/device.html
+++ b/templates/device.html
@@ -8,7 +8,11 @@
Stable |
+{% if not "extended" in name %}
[[{{codename}}-stable-BUILD_NUMBER]] |
+{% else %}
+ [[{{codename}}-stable-BUILD_NUMBER]] |
+{% endif %}
|
Beta |
+{% if not "extended" in name %}
[[{{codename}}-beta-BUILD_NUMBER]] |
+{% else %}
+ [[{{codename}}-beta-BUILD_NUMBER]] |
+{% endif %}
|
Alpha |
+{% if not "extended" in name %}
[[{{codename}}-alpha-BUILD_NUMBER]] |
+{% else %}
+ [[{{codename}}-alpha-BUILD_NUMBER]] |
+{% endif %}
|