diff mbox

[Branch,~linaro-validation/lava-scheduler/trunk] Rev 164: remove ajax_table.html, which belongs in lava-server now (Chris Johnston)

Message ID 20120422234409.19931.68094.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson April 22, 2012, 11:44 p.m. UTC
Merge authors:
  Chris Johnston (chrisjohnston)
Related merge proposals:
  https://code.launchpad.net/~chrisjohnston/lava-scheduler/move-ajax-table-html/+merge/102928
  proposed by: Chris Johnston (chrisjohnston)
  review: Approve - Zygmunt Krynicki (zkrynicki)
------------------------------------------------------------
revno: 164 [merge]
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-04-23 11:41:59 +1200
message:
  remove ajax_table.html, which belongs in lava-server now (Chris Johnston)
removed:
  lava_scheduler_app/templates/lava_scheduler_app/ajax_table.html


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription
diff mbox

Patch

=== removed file 'lava_scheduler_app/templates/lava_scheduler_app/ajax_table.html'
--- lava_scheduler_app/templates/lava_scheduler_app/ajax_table.html	2012-03-06 03:44:20 +0000
+++ lava_scheduler_app/templates/lava_scheduler_app/ajax_table.html	1970-01-01 00:00:00 +0000
@@ -1,25 +0,0 @@ 
-{% extends "django_tables2/table.html" %}
-
-{% block table.thead %}
-<thead>
-  <tr>
-    {% for column in table.columns %}
-    <th {{ column.attrs.th.as_html }}>{{ column.header }}</th>
-    {% endfor %}
-  </tr>
-</thead>
-{% endblock table.thead %}
-
-{% block table %}
-{{ block.super }}
-{% comment %}
-The div below is a ridiculous hack to avoid the jQuery.details.js
-setting the display: of the script element to "block" when showing a
-table that is in a <details> element.
-{% endcomment %}
-<div>
-<script type="text/javascript">
-$("#{{ table.attrs.id }}").dataTable({{ table.datatable_options|safe }});
-</script>
-</div>
-{% endblock %}