lib/rack/oauth2/admin/views/client.tmpl in rack-oauth2-server-2.0.0.beta3 vs lib/rack/oauth2/admin/views/client.tmpl in rack-oauth2-server-2.0.0.beta4

- old
+ new

@@ -11,10 +11,11 @@ <div class="meta">Site: <a href="${link}">${link}</a></div> <div class="meta"> Created {{html $.shortdate(revoked)}} {{if revoked}}Revoked {{html $.shortdate(revoked)}}{{/if}} </div> + {{each notes}}<p class="notes">${this}</p>{{/each}} </div> <div class="metrics"> <div id="fig"></div> <ul class="badges"> <li title="Access tokens granted, lifetime total"><big>${$.thousands(tokens.total)}</big><small>Granted</small></li> @@ -47,9 +48,9 @@ </tr> {{/each}} </tbody> </table> <div class="pagination"> - {{if tokens.previous}}<a href="#/client/${id}/${tokens.page - 1}" rel="previous">Previous</a>{{/if}} - {{if tokens.next}}<a href="#/client/${id}/${tokens.page + 1}" rel="next">Next</a>{{/if}} + {{if tokens.previous}}<a href="#/client/${id}/page/${tokens.page - 1}" rel="previous">Previous</a>{{/if}} + {{if tokens.next}}<a href="#/client/${id}/page/${tokens.page + 1}" rel="next">Next</a>{{/if}} </div> </div>