[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/develop] Add code of conduct from remote repository
commit cdc64b4322e1a97f594f318fb4b34f3599bbc611
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Thu Sep 5 15:59:17 2019 +0200
Add code of conduct from remote repository
---
content/training/code-of-conduct/contents.lr | 2 +-
templates/two-columns-page.html | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/content/training/code-of-conduct/contents.lr b/content/training/code-of-conduct/contents.lr
index 0f3eab0..6d39f0d 100644
--- a/content/training/code-of-conduct/contents.lr
+++ b/content/training/code-of-conduct/contents.lr
@@ -20,6 +20,6 @@ html: two-columns-page.html
---
body:
-##Code of Conduct for Trainers
+## Code of Conduct for Trainers
The Tor Project is committed to fostering an inclusive environment and community. Tor is a place where people should feel safe to engage, share their point of view, and participate. You can find our code of conduct [here](https://gitweb.torproject.org/community/policies.git/tree/code_of_conduct.txt)
diff --git a/templates/two-columns-page.html b/templates/two-columns-page.html
index 4ccb30e..199a452 100644
--- a/templates/two-columns-page.html
+++ b/templates/two-columns-page.html
@@ -14,6 +14,11 @@
</div>
{% endfor %}
</div>
+
+ {% if this.path == "/training/code-of-conduct" %}
+ {{ render_text("https://gitweb.torproject.org/community/policies.git/plain/code_of_conduct.txt")|safe }}
+ {% endif %}
+
<div class="card mt-5">
<ul class="list-group list-group-flush">
<!--li class="list-group-item"><a><span class="card-text text-muted">{{ _("Contributors to this page:") }} <a href="#" title="#">cypherpunk</a></span></li-->
@@ -23,4 +28,4 @@
</ul>
</div>
</div>
-</div>
\ No newline at end of file
+</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits