]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
fireinfo: Don't declare AMD CPUs with HT as "Intel Hyper-Threading"
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Mar 2015 22:26:31 +0000 (23:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Mar 2015 22:26:31 +0000 (23:26 +0100)
templates/fireinfo/profile-detail.html

index c5ec9067432dadf477aaf1f8b8889acf5d74172a..e440b60fd8ff0c72344ebdb8b175009520d00d4c 100644 (file)
                                                {% end %}
 
                                                {% if profile.processor.uses_ht() %}
-                                                       {{ _("using Intel Hyper-Threading Technology") }}
+                                                       {% if profile.processor.vendor == "Intel" %}
+                                                               {{ _("using Intel Hyper-Threading Technology") }}
+                                                       {% else %}
+                                                               {{ _("with %s logical cores") % profile.processor.core_count }}
+                                                       {% end %}
                                                {% end %}
                                        </p>
                                {% end %}