Skip to content

Commit 07a8644

Browse files
committed
add : role_name_fa added.
1 parent aac9a44 commit 07a8644

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mafia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def index():
3030
id += 1
3131
return render_template("index.html",
3232
image_name=image_name,
33-
role_name=role,
33+
role_name=role, rol_name_fa=role2fa[role],
3434
player_id=id - 1,
3535
is_farsi=True)
3636

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% block role_title %}
1212
<h1>{{ role_name }}
1313
{% if is_farsi == True %}
14-
<h2 id="fa">...</h2>
14+
<h2 id="fa">{{ role_name_fa }}</h2>
1515
{% endif %}
1616
</h1>
1717
{% endblock %}

0 commit comments

Comments
 (0)