Commit fb40b5de8750d36877010581e48af99eae2aa5fc

Authored by Tássia Camões Araújo
1 parent 4632a006
Exists in master and in 1 other branch add_vagrant

Minor fixes in survey templates.

src/web/templates/fake.html
1 1 $var title: Home
2 2 $var mod = 'index';
3   -<p>Fixing bugs...</p>
  3 +<p>Temporary unavailable...</p>
... ...
src/web/templates/layout.html
1 1 $def with (content)
2   -$ url_base = "/survey/"
3 2 <!--Force IE6 into quirks mode with this comment tag-->
4 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
... ...
src/web/templates/survey.html
... ... @@ -84,7 +84,7 @@ $for pkg in pkgs_details:
84 84 <img height="80" src="http://screenshots.debian.net/thumbnail/$pkg.name"
85 85 alt="Screenshot $pkg.name" /></a>
86 86 </div><!-- screenshot -->
87   - <h1 id="title_pkg"> $pkg.name <span>($(pkgs_details.index(pkg)+1)/10)</span> <br />
  87 + <h1 id="title_pkg"> $pkg.name <span>($(pkgs_details.index(pkg)+1)/$len(pkgs_details))</span> <br />
88 88 <span>$pkg.summary</span></h1> <br />
89 89 <div class="content-pkg">
90 90 $if hasattr(pkg,'description'):
... ...