You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2021/11/30 16:27:42 UTC
[allura] 01/01: [#8402] removed default precheck checkboxes on wiki, topic pages
This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8402
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 5187368359ab3052ac1916b42563f17891935809
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Tue Nov 30 09:22:41 2021 -0700
[#8402] removed default precheck checkboxes on wiki, topic pages
---
Allura/allura/templates/widgets/edit_post.html | 2 +-
Allura/allura/templates/widgets/new_topic_post.html | 2 +-
ForgeWiki/forgewiki/templates/wiki/page_edit.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Allura/allura/templates/widgets/edit_post.html b/Allura/allura/templates/widgets/edit_post.html
index 6f0de46..d38f9a9 100644
--- a/Allura/allura/templates/widgets/edit_post.html
+++ b/Allura/allura/templates/widgets/edit_post.html
@@ -34,7 +34,7 @@
<input type="submit" value="{{submit_text}}" />
{% if primary_artifact and c.user and c.user != c.user.anonymous() and not primary_artifact.subscribed() %}
<label class="subscribe">
- <input type="checkbox" checked name="subscribe" class="subscribe-checkbox">Subscribe to this {{ primary_artifact.type_name }}
+ <input type="checkbox" name="subscribe" class="subscribe-checkbox">Subscribe to this {{ primary_artifact.type_name }}
</label>
{% endif %}
<a href="#" class="ui-button btn link cancel_edit_post">Cancel</a>
diff --git a/Allura/allura/templates/widgets/new_topic_post.html b/Allura/allura/templates/widgets/new_topic_post.html
index e62249e..e43f40f 100644
--- a/Allura/allura/templates/widgets/new_topic_post.html
+++ b/Allura/allura/templates/widgets/new_topic_post.html
@@ -52,7 +52,7 @@
{% if c.user and c.user != c.user.anonymous() and not (subscribed or subscribed_to_tool) %}
{# subscribed is per-forum and won't change if they change the forum dropdown value, but better than nothing? :( #}
<label class="subscribe">
- <input type="checkbox" checked name="subscribe" class="subscribe-checkbox">Subscribe to this topic
+ <input type="checkbox" name="subscribe" class="subscribe-checkbox">Subscribe to this topic
</label>
{% endif %}
<a href=".." class="btn link cancel_form">Cancel</a>
diff --git a/ForgeWiki/forgewiki/templates/wiki/page_edit.html b/ForgeWiki/forgewiki/templates/wiki/page_edit.html
index 6d43a51..b14caba 100644
--- a/ForgeWiki/forgewiki/templates/wiki/page_edit.html
+++ b/ForgeWiki/forgewiki/templates/wiki/page_edit.html
@@ -72,7 +72,7 @@
<input type="reset" value="Cancel">
{% if c.user and c.user != c.user.anonymous() and not subscribed_to_tool %}
<label class="subscribe">
- <input type="checkbox" checked name="subscribe" class="subscribe-checkbox">Subscribe to this wiki page
+ <input type="checkbox" name="subscribe" class="subscribe-checkbox">Subscribe to this wiki page
</label>
{% endif %}
</div>