1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns:
py=
"http://purl.org/kid/ns#" xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <title>Pootle Navigation Bar
</title>
7 <script defer type="text/javascript" src="${baseurl}js/correctpng.js"></script>
11 <div id=
"item" class=
"contentsitem">
12 <img src=
"${baseurl}images/${item.icon}.png" class=
"icon" alt=
"" dir=
"$uidir" lang=
"$uilanguage" />
13 <h3 id=
"itemtitle" class=
"title"><a href=
"${item.href}">${item.title}
</a></h3>
14 <div id=
"actionlinks" class=
"item-description" py:
if=
"item.actions">
15 <span py:
for=
"link in item.actions.basic" py:
strip=
"True">
16 <a href=
"${link.href}" title=
"${link.title}">${link.text}
</a>
19 <form py:
if=
"item.actions.goalform" action=
"" name=
"${item.actions.goalform.name}" method=
"post">
20 <input type=
"hidden" name=
"editgoalfile" value=
"${item.actions.goalform.filename}"/>
21 <select name=
"editgoal" py:
attrs=
"multiple=item.actions.goalform.multifiles">
23 <option py:
for=
"goalname in item.actions.goalform.goalnames" value=
"${goalname}" py:
content=
"goalname" selected=
"${item.actions.goalform.filegoals[goalname]}">Goal
</option>
25 <input py:
if=
"item.actions.goalform.multifiles" type=
"hidden" name=
"allowmultikey" value=
"editgoal"/>
26 <input type=
"submit" name=
"doeditgoal" value=
"${item.actions.goalform.setgoal_text}"/>
27 <span py:
if=
"item.actions.goalform.users" py:
strip=
"True">
28 <select name=
"editfileuser" py:
attrs=
"multiple=item.actions.goalform.multiusers">
30 <option py:
for=
"user in item.actions.goalform.users" value=
"${user}" py:
content=
"user" selected=
"${item.actions.goalform.assignusers[user]}">Username
</option>
32 <a py:
if=
"not item.actions.goalform.multiusers" href=
"#" onclick=
"var userselect = document.forms.${item.actions.goalform.name}.editfileuser; userselect.multiple = true; return false" py:
content=
"item.actions.goalform.selectmultiple_text">Select Multiple
</a>
33 <input type=
"hidden" name=
"allowmultikey" value=
"editfileuser"/>
34 <select name=
"edituserwhich">
35 <option py:
for=
"a in item.actions.goalform.assignwhich" value=
"${a.value}">${a.text}
</option>
37 <input type=
"submit" name=
"doedituser" value=
"${item.actions.goalform.assignto_text}"/>
40 <span py:
for=
"link in item.actions.extended" py:
strip=
"True">
41 <a href=
"${link.href}" title=
"${link.title}">${link.text}
</a>
46 <div id=
"itemstats" class=
"item-statistics">
47 <span py:
if=
"item.stats.summary" py:
replace=
"XML(item.stats.summary)">
48 2/
2 words (
100%) translated
<span class=
"string-statistics">[
2/
2 strings]
</span>
50 <span py:
for=
"check in item.stats.checks" py:
strip=
"True">
52 <a href=
"${check.href}" py:
content=
"check.text">checkname
</a>
53 <span py:
content=
"check.stats" py:
strip=
"True">3 strings (
20%) failed
</span>
55 <span py:
for=
"track in item.stats.tracks" py:
strip=
"True"><br />${track}
</span>
56 <span py:
for=
"astats in item.stats.assigns" py:
strip=
"True">
57 <br /><a href=
"${astats.assign.href}">${astats.assign.text}
</a>: ${astats.stats}
58 <span class='string-statistics'
>${astats.stringstats}
</span> -
59 ${astats.completestats}
<span class='string-statistics'
>${astats.completestringstats}
</span>
60 <a py:
if=
"astats.remove" href=
"${astats.remove.href}">${astats.remove.text}
</a>
64 <div id=
"itemdata" py:
strip=
"True">
65 <td class=
"stats-name">
66 <img src=
"${baseurl}images/${item.icon}.png" class=
"icon" alt=
"" dir=
"$uidir" lang=
"$uilanguage" />
67 <a href=
"${item.href}" lang=
"en" dir=
"ltr">${item.title}
</a>
69 <span py:
if=
"item.data" py:
strip=
"True">
70 <td class=
"stats">${item.data.translatedsourcewords}
</td><td class=
"stats">${item.data.translatedpercentage}%
</td>
71 <td class=
"stats">${item.data.fuzzysourcewords}
</td><td class=
"stats">${item.data.fuzzypercentage}%
</td>
72 <td class=
"stats">${item.data.untranslatedsourcewords}
</td><td class=
"stats">${item.data.untranslatedpercentage}%
</td>
73 <td class=
"stats">${item.data.totalsourcewords}
</td>
74 <td class=
"stats-graph">
75 <span class=
"sortkey">${item.data.translatedpercentage}
</span>
76 <table border=
"0" cellpadding=
"0" cellspacing=
"0"><tr>
77 <td bgcolor=
"green" class=
"data" height=
"20" width=
"${item.data.translatedpercentage or int(bool(item.data.translatedsourcewords))}" />
78 <td bgcolor=
"#d3d3d3" class=
"data" height=
"20" width=
"${item.data.fuzzypercentage or int(bool(item.data.fuzzysourcewords))}" py:
if=
"item.data.fuzzysourcewords"/>
79 <td bgcolor=
"red" class=
"data" height=
"20" width=
"${item.data.untranslatedpercentage or int(bool(item.data.untranslatedsourcewords))}" py:
if=
"item.data.untranslatedsourcewords" />