1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-12 01:45:04 +00:00

['guide for new' dialog] updated the image & etc. ()

This commit is contained in:
llj 2024-03-26 12:06:17 +08:00 committed by GitHub
parent eae7c78cca
commit bd117f54f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
frontend/src/components/dialog
media/img

View File

@ -19,8 +19,8 @@ class GuideForNewDialog extends React.Component {
<ModalBody>
<button type="button" className="close text-gray" onClick={this.toggle}><span aria-hidden="true">×</span></button>
<div className="p-2 text-center">
<img src={`${mediaUrl}img/welcome.png`} width="180" alt="" />
<h3 id="dialogTitle">{gettext('Welcome to {site_name_placeholder}').replace('{site_name_placeholder}', siteName)}</h3>
<img src={`${mediaUrl}img/welcome.png`} width="408" alt="" />
<h3 id="dialogTitle" className="mt-6 mb-4">{gettext('Welcome to {site_name_placeholder}').replace('{site_name_placeholder}', siteName)}</h3>
{canAddRepo ?
<p>{gettext('{site_name_placeholder} 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.').replace('{site_name_placeholder}', siteName)}</p> :
<p>{gettext('{site_name_placeholder} organizes files into libraries. Each library can be synced and shared separately. However, since you are a guest user now, you can not create libraries.').replace('{site_name_placeholder}', siteName)}</p>

Binary file not shown.

Before

(image error) Size: 80 KiB

After

(image error) Size: 62 KiB