~ubuntu-branches/ubuntu/wily/prewikka/wily

« back to all changes in this revision

Viewing changes to prewikka/templates/SensorListing.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-07-08 08:33:50 UTC
  • mfrom: (1.1.9 upstream) (8.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090708083350-zqmdq1l666lsv366
Tags: 0.9.17-1ubuntu1
* Merge from debian unstable, Ubuntu remaining changes:
  - debian/rules: Append --install-layout=deb to setup.py install arguments.
  - debian/control: Bump python-all-dev, python-central, debhelper build
    dependencies (as per New Policy).

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
      <td style="background-color: white; width:150px;">
98
98
       #set $nlen = $len($locations[$entry]["nodes"])
99
99
       #set $alen = $locations[$entry]["total"]
100
 
       $str($ngettext("%d Node", "%d Nodes", $nlen) % $nlen), $str($ngettext("%d Analyzer", "%d Analyzers", $alen) % $alen)
 
100
       $unicode($ngettext("%d Node", "%d Nodes", $nlen) % $nlen), $unicode($ngettext("%d Analyzer", "%d Analyzers", $alen) % $alen)
101
101
      </td>
102
102
       #for $i in ( ("online",  $ngettext("%d Online", "%d Online", $locations[$entry]["online"])),
103
103
                    ("offline", $ngettext("%d Offline", "%d Offline", $locations[$entry]["offline"])),
104
104
                    ("unknown", $ngettext("%d Unknown", "%d Unknown", $locations[$entry]["unknown"])),
105
105
                    ("missing", $ngettext("%d Missing", "%d Missing", $locations[$entry]["missing"])))
106
106
        #if $locations[$entry][$i[0]] > 0
107
 
      <td class="heartbeat_analyze_sensor_status_$i[0]">$str($i[1] % $locations[$entry][$i[0]])</td>
 
107
      <td class="heartbeat_analyze_sensor_status_$i[0]">$unicode($i[1] % $locations[$entry][$i[0]])</td>
108
108
        #end if
109
109
       #end for
110
110
     </tr>