mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
update welcome message
allow user change welcome message by change SITE_NAME setting
This commit is contained in:
@@ -94,11 +94,11 @@
|
||||
<div id="guide-for-new" class="hide">
|
||||
<span class="icon-lightbulb fleft" aria-hidden="true"></span>
|
||||
<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 %}
|
||||
<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 %}
|
||||
<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 %}
|
||||
<button class="simplemodal-close" style="margin:8px 0 0 0;">{% trans "Close" %}</button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user