Commit b77c8f22 authored by Michal Čihař's avatar Michal Čihař

Add direct link to engage page to share menu

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5314a216
......@@ -49,6 +49,7 @@
{% with object.get_share_url as share_url and object.get_widgets_url as widgets_url %}
<li><a href="http://www.facebook.com/sharer.php?u={{ share_url }}">{% trans "Share on Facebook!" %}</a></li>
<li><a href="https://twitter.com/share?text={% blocktrans %}Translate {{ object }} using %23Weblate at {{ share_url }}!{% endblocktrans %}">{% trans "Tweet this translation!" %}</a></li>
<li><a href="{% url 'engage' project=object.slug %}">{% trans "Engage page" %}</a></li>
<li><a href="{{ widgets_url }}">{% trans "Status widgets" %}</a></li>
{% endwith %}
</ul>
......
......@@ -49,6 +49,7 @@
{% with object.get_share_url as share_url and object.get_widgets_url as widgets_url %}
<li><a href="http://www.facebook.com/sharer.php?u={{ share_url }}">{% trans "Share on Facebook!" %}</a></li>
<li><a href="https://twitter.com/share?text={% blocktrans %}Translate {{ object }} using %23Weblate at {{ share_url }}!{% endblocktrans %}">{% trans "Tweet this translation!" %}</a></li>
<li><a href="{% url 'engage' project=object.project.slug %}">{% trans "Engage page" %}</a></li>
<li><a href="{{ widgets_url }}">{% trans "Status widgets" %}</a></li>
{% endwith %}
</ul>
......
......@@ -66,6 +66,7 @@
{% with object.get_share_url as share_url and object.get_widgets_url as widgets_url %}
<li><a href="http://www.facebook.com/sharer.php?u={{ share_url }}">{% trans "Share on Facebook!" %}</a></li>
<li><a href="https://twitter.com/share?text={% blocktrans %}Translate {{ object }} using %23Weblate at {{ share_url }}!{% endblocktrans %}">{% trans "Tweet this translation!" %}</a></li>
<li><a href="{% url 'engage' project=object.subproject.project.slug %}">{% trans "Engage page" %}</a></li>
<li><a href="{{ widgets_url }}">{% trans "Status widgets" %}</a></li>
{% endwith %}
</ul>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment