]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/templates/browse/feature_history.jst.ejs
Use jQuery's toggle binding
[rails.git] / app / assets / javascripts / templates / browse / feature_history.jst.ejs
1 <table width="100%" class="browse_heading">
2   <tr>
3     <td><%- I18n.t("browse.start_rjs.history_for_feature", {feature: name}) %></td>
4     <td align="right">
5       <a href="<%- url %>/history"><%- I18n.t('browse.start_rjs.details') %></a>
6     </td>
7   </tr>
8 </table>
9 <div class="browse_details">
10   <ul>
11     <% for (var i = 0; i < history.length; i++) { %>
12       <li><%- I18n.t("browse.start_rjs.edited_by_user_at_timestamp", history[i]) %></li>
13     <% } %>
14   </ul>
15 </div>