[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/translations] content, templates changes from master
commit 8140d8f3529416ee86521e1270561251c01ccd80
Author: emma peel <emma.peel@xxxxxxxxxx>
Date: Tue Jun 22 17:12:59 2021 +0200
content, templates changes from master
---
content/user-research/guidelines/contents.lr | 2 +-
templates/blocks/slide.html | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/content/user-research/guidelines/contents.lr b/content/user-research/guidelines/contents.lr
index 159b0e7..2e57285 100644
--- a/content/user-research/guidelines/contents.lr
+++ b/content/user-research/guidelines/contents.lr
@@ -62,7 +62,7 @@ Thank the participant for their willingness to participate and explain that we a
The interview should not last longer than 20 minutes.
You can take notes on the printed material you will carry with you, or on your computer.
-While we're not interested in the specific charactersitics of individual participants, it's important for us to be able to determine the reach of our training sessions, usability workshops and interviews.
+While we're not interested in the specific characteristics of individual participants, it's important for us to be able to determine the reach of our training sessions, usability workshops and interviews.
Distribute the demographics questionnaire among the participants, and help answer their questions about how to fill it in if they have any.
Don't forget to thank the participant again at the end of the interview.
diff --git a/templates/blocks/slide.html b/templates/blocks/slide.html
index 2d89823..57158fe 100644
--- a/templates/blocks/slide.html
+++ b/templates/blocks/slide.html
@@ -9,6 +9,26 @@
<h5>{{ this.author }}</h5>
{% endif %}
</section>
+{% elif this.slide_layout == "image_left" %}
+ <section class="slide-image-left" {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
+ <h2>{{ this.title }}</h2>
+ {% if this.image %}
+ <div style="display: inline-block; vertical-align: top; width: 46%; float: left;"><img data-src="{{ this.image }}"></div>
+ {% endif %}
+ <div style="display: inline-block; width: 46%;">
+ {{ this.description }}
+ </div>
+ </section>
+{% elif this.slide_layout == "image_right" %}
+ <section class="slide-image-right" {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
+ <h2>{{ this.title }}</h2>
+ <div style="display: inline-block; width: 46%;">
+ {{ this.description }}
+ </div>
+ {% if this.image %}
+ <div style="display: inline-block; vertical-align: top; width: 46%; float: right;"><img data-src="{{ this.image }}"></div>
+ {% endif %}
+ </section>
{% else %}
<section {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
<h2>{{ this.title }}</h2>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits