1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

update welcome message

allow user change welcome message by change SITE_NAME setting
This commit is contained in:
lian
2016-08-08 16:14:51 +08:00
parent 14883e4715
commit a13a75d945

View File

@@ -94,11 +94,11 @@
<div id="guide-for-new" class="hide"> <div id="guide-for-new" class="hide">
<span class="icon-lightbulb fleft" aria-hidden="true"></span> <span class="icon-lightbulb fleft" aria-hidden="true"></span>
<div class="txt"> <div class="txt">
<h3 id="dialogTitle">{% trans "Welcome to Seafile!" %}</h3> <h3 id="dialogTitle">{% blocktrans with site_name=site_name %}Welcome to {{site_name}}{% endblocktrans %}</h3>
{% if user.permissions.can_add_repo %} {% if user.permissions.can_add_repo %}
<p>{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. We have created a personal library for you. You can create more libraries later." %}</p> <p>{% blocktrans with site_name=site_name %}{{site_name}} organizes files into libraries. Each library can be synced and shared separately. We have created a personal library for you. You can create more libraries later.{% endblocktrans %}</p>
{% else %} {% else %}
<p>{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. Howerver, since you are a guest user now, you can not create libraries." %}</p> <p>{% blocktrans with site_name=site_name %}{{site_name}} organizes files into libraries. Each library can be synced and shared separately. Howerver, since you are a guest user now, you can not create libraries.{% endblocktrans %}</p>
{% endif %} {% endif %}
<button class="simplemodal-close" style="margin:8px 0 0 0;">{% trans "Close" %}</button> <button class="simplemodal-close" style="margin:8px 0 0 0;">{% trans "Close" %}</button>
</div> </div>