about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/edit_phenotype.html47
-rw-r--r--wqflask/wqflask/templates/edit_probeset.html48
2 files changed, 0 insertions, 95 deletions
diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html
index a0b7a6eb..feeadadb 100644
--- a/wqflask/wqflask/templates/edit_phenotype.html
+++ b/wqflask/wqflask/templates/edit_phenotype.html
@@ -17,53 +17,6 @@
         <small><a href="{{url_for('metadata_edit.show_history', dataset_id=dataset_id, name=name)}}" target="_blank">[View History]</a></small>
     </div>
 
-    {% if diff %}
-
-    <div class="container text-left">
-        <details class="col-md-12 col-lg-20 col-lg-22">
-        <summary>
-            <h2>Update History</h2>
-        </summary>
-        <table class="table">
-        <tbody>
-            <tr>
-                <th>Timestamp</th>
-                <th>Editor</th>
-                <th>Field</th>
-                <th>Diff</th>
-            </tr>
-            {% set ns = namespace(display_cell=True) %}
-
-            {% for timestamp, group in diff %}
-            {% set ns.display_cell = True %}
-            {% for i in group %}
-            <tr>
-                {% if ns.display_cell and i.timestamp == timestamp %}
-
-                {% set author = i.author %}
-                {% set timestamp_ = i.timestamp %}
-
-                {% else %}
-
-                {% set author = "" %}
-                {% set timestamp_ = "" %}
-
-                {% endif %}
-                <td>{{ timestamp_ }}</td>
-            <td>{{ author }}</td>
-            <td>{{ i.diff.field }}</td>
-                <td><pre>{{ i.diff.diff }}</pre></td>
-                {% set ns.display_cell = False %}
-        </tr>
-            {% endfor %}
-            {% endfor %}
-        </tbody>
-        </table>
-        </details>
-
-    </div>
-
-    {% endif %}
     <form id="edit-form" class="container form-horizontal" method="post" action="/datasets/{{dataset_id}}/traits/{{ publish_xref.id_ }}?resource-id={{ resource_id }}" enctype='multipart/form-data'>
 	<div class="form-group">
 	    <div class="controls left-block col-sm-8 col-lg-8" style="width: max-content;">
diff --git a/wqflask/wqflask/templates/edit_probeset.html b/wqflask/wqflask/templates/edit_probeset.html
index d9aee9d8..0f5bb04b 100644
--- a/wqflask/wqflask/templates/edit_probeset.html
+++ b/wqflask/wqflask/templates/edit_probeset.html
@@ -9,54 +9,6 @@
     </div>
 </div>
 
-{% if diff %}
-
-<div class="container">
-    <details class="col-sm-12 col-md-10 col-lg-12">
-        <summary>
-            <h2>Update History</h2>
-        </summary>
-        <table class="table">
-            <tbody>
-                <tr>
-                    <th>Timestamp</th>
-                    <th>Editor</th>
-                    <th>Field</th>
-                    <th>Diff</th>
-                </tr>
-                {% set ns = namespace(display_cell=True) %}
-
-                {% for timestamp, group in diff %}
-                {% set ns.display_cell = True %}
-                {% for i in group %}
-                <tr>
-                    {% if ns.display_cell and i.timestamp == timestamp %}
-
-                    {% set author = i.author %}
-                    {% set timestamp_ = i.timestamp %}
-
-                    {% else %}
-
-                    {% set author = "" %}
-                    {% set timestamp_ = "" %}
-
-                    {% endif %}
-                    <td>{{ timestamp_ }}</td>
-	            <td>{{ author }}</td>
-	            <td>{{ i.diff.field }}</td>
-                    <td><pre>{{ i.diff.diff }}</pre></td>
-                    {% set ns.display_cell = False %}
-	        </tr>
-                {% endfor %}
-                {% endfor %}
-            </tbody>
-        </table>
-    </details>
-
-</div>
-
-{% endif %}
-
 <form id="edit-form" class="form-horizontal" method="post" action="/datasets/traits/{{ name }}?resource-id={{ resource_id }}">
     <div class="form-group">
         <label for="symbol" class="col-sm-2 control-label">Symbol:</label>