]> iEval git - mindcoding-template-patches.git/commitdiff
add user profile links
authorS7012MY <l3asketballplayer@yahoo.com>
Thu, 30 Jan 2014 12:13:37 +0000 (14:13 +0200)
committerS7012MY <l3asketballplayer@yahoo.com>
Thu, 30 Jan 2014 12:13:37 +0000 (14:13 +0200)
tmpl/log.en
tmpl/st.en

index fa91c35960807c1a80115d31f8a0d466c3819b74..fde606b751995d3265e38f7aec428a5ef1a1df33 100644 (file)
@@ -12,7 +12,7 @@
 <td><a href="../pb/<tmpl_var problem>.var"><tmpl_var name></a>
 <td><tmpl_var date>
 <td><a href="src/<tmpl_var id>.<tmpl_var extension>"<tmpl_if private> data-private</tmpl_if>><tmpl_var size></a>
-<td><tmpl_var user><td class="r<tmpl_var result>"><tmpl_var result_text>
+<td><a href="../us/<tmpl_var user>.var"><tmpl_var user></a><td class="r<tmpl_var result>"><tmpl_var result_text>
 </tmpl_loop>
 
 </table>
index 644dd6cb235f5dcea37e4a48f21416586904e0d2..c6cd0b59f3e7ef8098dca8ac5600edc74648ea07 100644 (file)
@@ -3,9 +3,14 @@
 <div class="col-md-8 column">
 <table border class="table">
 <thead>
-<tr><th>Username<th>Total
+<tmpl_if problems><tr><th>Username<tmpl_loop problems><th><tmpl_var _></tmpl_loop><th>Total
+<tmpl_else><tr><th>Username<th>Score
+</tmpl_if>
+
 <tbody>
-<tmpl_loop st><tr><td><tmpl_var user><td><tmpl_var score>
+<tmpl_loop st><tr><td><tmpl_var user>
+<tmpl_if problems><tmpl_loop scores><td><tmpl_var _>
+</tmpl_loop></tmpl_if><td><tmpl_var score>
 </tmpl_loop>
 </table>
 </div>
This page took 0.032456 seconds and 4 git commands to generate.