You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2024/05/20 16:09:42 UTC
(allura) 01/03: [#7272] convert HTML comments to jinja comments
This is an automated email from the ASF dual-hosted git repository.
dill0wn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 614d02dd84daeb690c8161728143b23c13303d65
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Tue May 14 12:40:02 2024 -0400
[#7272] convert HTML comments to jinja comments
---
Allura/allura/templates/widgets/field_cluster.html | 4 ++--
Allura/allura/templates/widgets/sortable_repeated_field.html | 6 +++---
Allura/allura/templates/widgets/sortable_table.html | 4 ++--
Allura/allura/templates/widgets/state_field.html | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Allura/allura/templates/widgets/field_cluster.html b/Allura/allura/templates/widgets/field_cluster.html
index 1ff84e83c..5d0ac8c66 100644
--- a/Allura/allura/templates/widgets/field_cluster.html
+++ b/Allura/allura/templates/widgets/field_cluster.html
@@ -1,4 +1,4 @@
-<!--!
+{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -15,7 +15,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--->
+-#}
{% for field in widget.fields %}
{{ field.display(**widget.context_for(field)) }}
{% endfor %}
diff --git a/Allura/allura/templates/widgets/sortable_repeated_field.html b/Allura/allura/templates/widgets/sortable_repeated_field.html
index 2e5e9c6ee..dd7fb83d1 100644
--- a/Allura/allura/templates/widgets/sortable_repeated_field.html
+++ b/Allura/allura/templates/widgets/sortable_repeated_field.html
@@ -1,4 +1,4 @@
-<!--!
+{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -15,9 +15,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--->
+-#}
<div class="{{ container_cls }}" data-name="{{ name }}">
- <!-- We need "overflow:auto" for sortable.js to properly work in Firefox http://stackoverflow.com/a/3393282/4640690 -->
+ {# We need "overflow:auto" for sortable.js to properly work in Firefox http://stackoverflow.com/a/3393282/4640690 #}
<div>{% if show_msg %}<p
class="{{ msg_cls }}"
data-empty-message="{{ empty_msg }}"
diff --git a/Allura/allura/templates/widgets/sortable_table.html b/Allura/allura/templates/widgets/sortable_table.html
index 74141fc8b..3e0b578dd 100644
--- a/Allura/allura/templates/widgets/sortable_table.html
+++ b/Allura/allura/templates/widgets/sortable_table.html
@@ -1,4 +1,4 @@
-<!--!
+{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -15,7 +15,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--->
+-#}
<div class="{{ container_cls }}" data-name="{{ name }}">
{{ button.display() }}
<br/>
diff --git a/Allura/allura/templates/widgets/state_field.html b/Allura/allura/templates/widgets/state_field.html
index 3dca6796a..eeeb4efa7 100644
--- a/Allura/allura/templates/widgets/state_field.html
+++ b/Allura/allura/templates/widgets/state_field.html
@@ -1,4 +1,4 @@
-<!--!
+{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -15,7 +15,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--->
+-#}
<div class="{{ container_cls }}">
{% set ctx = widget.context_for(selector) %}
{% if selector.show_label %}