]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/votes.html
ALteration of the schema to a single content model. As a bonus there is a complete...
[osqa.git] / forum / skins / default / templates / users / votes.html
similarity index 73%
rename from forum/skins/default/templates/user_votes.html
rename to forum/skins/default/templates/users/votes.html
index b402c26039bd3f7e60a010bba4404d1a261cc029..9d187bf221c8e5cedbe1bff6b577f2bf00c50f72 100644 (file)
                 {% endifequal %}
                 </div>
                 <div style="float:left;overflow:hidden;width:750px">
-                    {% ifequal vote.answer_id 0 %}
-                    <span class="question-title-link"><a href="{{ vote.get_absolute_url }}">{{ vote.title }}</a></span>
-                    {% else %}
-                    <span class="answer-title-link" ><a href="{{ vote.get_absolute_url }}#{{ vote.answer_id }}">{{ vote.title }}</a></span>
-                    {% endifequal %}
+                    <span class="{{ vote.node.node_type }}-title-link"><a href="{{ vote.node.leaf.get_absolute_url }}">{{ vote.node.leaf.headline }}</a></span>
                     <div style="height:5px"></div>
                 </div>          
             </div>