File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/main/resources/templates Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,14 @@ <h1 class="modal-title fs-5" id="shareModalLabel">Share File</h1>
170
170
< button aria-label ="Close " class ="btn-close " data-bs-dismiss ="modal " type ="button "> </ button >
171
171
</ div >
172
172
< div class ="modal-body ">
173
- < p > By default, this link requires will a password to access the file if the file is password-protected
174
- or if the app password is enabled. You can generate an unrestricted link valid for a specific number
175
- of days, usable once.</ p >
173
+ < div th:if ="${file.passwordHash != null || isAppPasswordSet} ">
174
+ < p >
175
+ By default, this link requires a password to access the file if the file is password-protected
176
+ or if the app password is enabled.
177
+ < br >
178
+ You can generate an unrestricted link valid for a specific number of days, usable once.
179
+ </ p >
180
+ </ div >
176
181
177
182
< div class ="input-group mb-3 ">
178
183
< input class ="form-control " id ="shareLink " placeholder ="Generated link will appear here " readonly type ="text "
You can’t perform that action at this time.
0 commit comments