diff static/tpl/special-changes.html @ 124:6c261cb94631

Fixed wiki history page and API endpoint.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 23 Nov 2013 13:35:37 -0800
parents 74eb145eb839
children 9079fb01abb8
line wrap: on
line diff
--- a/static/tpl/special-changes.html	Sat Nov 23 13:31:35 2013 -0800
+++ b/static/tpl/special-changes.html	Sat Nov 23 13:35:37 2013 -0800
@@ -27,7 +27,11 @@
                                     <ul class="unstyled">
                                         {{#each changes}}
                                         <li>
+                                            {{#if valid_url}}
                                             <a href="{{get_read_url url}}">{{url}}</a>
+                                            {{else}}
+                                            <code>{{url}}</code>
+                                            {{/if}}
                                             {{#if is_edit}}(edit) {{/if}}
                                             {{#if is_add}}(added) {{/if}}
                                             {{#if is_delete}}(deleted) {{/if}}