]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question.html
adding support for focusing answers when linking to them
[osqa.git] / forum / skins / default / templates / question.html
index aff082b9f98a53d3733e782ce0ef81b9776a9ece..2172da9c4089c07bbd232dd1ca7ad7ff27caee17 100644 (file)
   \r
                 {% for answer in answers.paginator.page %}\r
                     <a name="{{ answer.id }}"></a>\r
-                    <div id="answer-container-{{ answer.id }}" class="answer {% post_classes answer %}">\r
+                    <div id="answer-container-{{ answer.id }}" class="answer {% post_classes answer %}{% ifequal answer.id focused_answer_id %} focusedAnswer{% endifequal %}">\r
                         <table style="width:100%;">\r
                             <tr>\r
                                 <td style="width:30px;vertical-align:top">\r