diff options
Diffstat (limited to 'gn2/wqflask/templates/collections')
| -rw-r--r-- | gn2/wqflask/templates/collections/list.html | 8 | ||||
| -rw-r--r-- | gn2/wqflask/templates/collections/view.html | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gn2/wqflask/templates/collections/list.html b/gn2/wqflask/templates/collections/list.html index c3d5d2a4..dc725fb6 100644 --- a/gn2/wqflask/templates/collections/list.html +++ b/gn2/wqflask/templates/collections/list.html @@ -57,8 +57,8 @@ <td align="center" style="padding: 0px;"><INPUT TYPE="checkbox" NAME="collection" class="checkbox trait_checkbox" VALUE="{{ uc.id }}"></td> <td align="right">{{ loop.index }} <td><a class="collection_name" href="{{ url_for('view_collection', uc_id=uc.id) }}">{{ uc.name }}</a></td> - <td>{{ uc.created_timestamp }}</td> - <td>{{ uc.changed_timestamp }}</td> + <td>{{ uc.created }}</td> + <td>{{ uc.changed }}</td> <td align="right">{{ uc.num_members }}</td> </tr> {% endfor %} @@ -88,8 +88,8 @@ <td align="center" style="padding: 0px;"><INPUT TYPE="checkbox" NAME="collection" class="checkbox trait_checkbox" VALUE="{{ uc.id }}"></td> <td align="right">{{ loop.index }} <td><a class="collection_name" href="{{ url_for('view_collection', uc_id=uc.id) }}">{{ uc.name }}</a></td> - <td>{{ uc.created_timestamp }}</td> - <td>{{ uc.changed_timestamp }}</td> + <td>{{ uc.created }}</td> + <td>{{ uc.changed }}</td> <td align="right">{{ uc.num_members }}</td> </tr> {% endfor %} diff --git a/gn2/wqflask/templates/collections/view.html b/gn2/wqflask/templates/collections/view.html index 7e74442f..55669f09 100644 --- a/gn2/wqflask/templates/collections/view.html +++ b/gn2/wqflask/templates/collections/view.html @@ -214,9 +214,9 @@ 'render': function(data) { if (Object.hasOwn(data, 'description')){ try { - return decodeURIComponent(escape(data.description)) + return decodeURIComponent(data.description) } catch(err){ - return escape(data.description) + return data.description } } else if (Object.hasOwn(data, 'location')){ return data.location |
