Display description line breaks
This commit is contained in:
parent
c07f2f11a9
commit
d358eb8aef
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
{% for pass in passwords %}
|
{% for pass in passwords %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="has-text-weight-semibold">{{ pass.name }}</td>
|
<td class="has-text-weight-semibold">{{ pass.name }}</td>
|
||||||
<td class="has-text-weight-light">{{ pass.description }}</td>
|
<td class="has-text-weight-light">{{ pass.description|linebreaksbr }}</td>
|
||||||
<td>{% if pass.url %}<a href="{{ pass.url }}" target="_blank">{{ pass.url|truncatechars:30 }}</a>{% endif %}</td>
|
<td>{% if pass.url %}<a href="{{ pass.url }}" target="_blank">{{ pass.url|truncatechars:30 }}</a>{% endif %}</td>
|
||||||
<td><input class="input" type="password" id="password_{{ pass.uuid }}" name="password_{{ pass.uuid }}" value="{{ pass.decrypt_password }}" /></td>
|
<td><input class="input" type="password" id="password_{{ pass.uuid }}" name="password_{{ pass.uuid }}" value="{{ pass.decrypt_password }}" /></td>
|
||||||
<td><a class="button is-primary" onclick="navigator.clipboard.writeText(document.getElementById('password_{{ pass.uuid }}').value).then(function() { console.log('Password copied to clipboard'); }, function(err) { console.error('Unable to copy password to clipboard'); });">{% trans "copy_password" %}</a></td>
|
<td><a class="button is-primary" onclick="navigator.clipboard.writeText(document.getElementById('password_{{ pass.uuid }}').value).then(function() { console.log('Password copied to clipboard'); }, function(err) { console.error('Unable to copy password to clipboard'); });">{% trans "copy_password" %}</a></td>
|
||||||
|
|
Loading…
Reference in a new issue