Skip to content
Snippets Groups Projects
Commit 1c90d6bc authored by Alexander Purr's avatar Alexander Purr Committed by Dorian Merz
Browse files

refs #16680 [fid_adlr] adjust several forms

* adjust reset password form
* add translation to username change form
* adjust send search mail form and record mail form
** changed config for senders email address as default
** adjust templates
** add translations
** remove textarea height limitation
* use the correct language key
* adjust translation
parent 3912c96a
No related merge requests found
...@@ -138,4 +138,7 @@ sender_email="noreply@adlr.link" ...@@ -138,4 +138,7 @@ sender_email="noreply@adlr.link"
new_releases="?filter%5B%5D=~de15fid_date%3A%5BNOW-30DAY%2FDAY+TO+NOW%5D&type=AllFields&filter%5B%5D=mega_collection%3A%22PDA+Print+VUB%22&sort=title&view=list" new_releases="?filter%5B%5D=~de15fid_date%3A%5BNOW-30DAY%2FDAY+TO+NOW%5D&type=AllFields&filter%5B%5D=mega_collection%3A%22PDA+Print+VUB%22&sort=title&view=list"
[Collections] [Collections]
collections = true collections = true
\ No newline at end of file
[Mail]
user_email_in_from = true
\ No newline at end of file
...@@ -77,4 +77,11 @@ resource_not_found = "Ich habe eine Ressource nicht gefunden." ...@@ -77,4 +77,11 @@ resource_not_found = "Ich habe eine Ressource nicht gefunden."
purchase_request = "Ich habe einen Anschaffungswunsch." purchase_request = "Ich habe einen Anschaffungswunsch."
Your search terms = "Ihre erweiterte Suche" Your search terms = "Ihre erweiterte Suche"
Edit this Advanced Search = "Suche bearbeiten" Edit this Advanced Search = "Suche bearbeiten"
\ No newline at end of file
; sending card, record or search by mail
From = "Von (E-Mail-Adresse)"
To = "An (E-Mail-Adresse)"
Email Record = "Diesen Eintrag als E-Mail versenden"
email_record_information = "Sie können diesen Datensatz hier per E-Mail versenden. Optional können Sie eine Nachricht hinzufügen."
email_search_information = "Sie können hier die aktuelle Suche per E-Mail versenden. Optional können Sie eine Nachricht hinzufügen."
\ No newline at end of file
...@@ -79,4 +79,11 @@ resource_not_found = "I didn't find a resource." ...@@ -79,4 +79,11 @@ resource_not_found = "I didn't find a resource."
purchase_request = "I have a purchase request." purchase_request = "I have a purchase request."
Your search terms = "Your advanced search" Your search terms = "Your advanced search"
Edit this Advanced Search = "Edit search" Edit this Advanced Search = "Edit search"
\ No newline at end of file
; sending card, record or search by mail
From = "From (Email address)"
To = "To (Email address)"
Email Record = "E-Mail this Record"
email_record_information = "Here you can send the current record by e-mail. Optionally you can add a message."
email_search_information = "Here you can send the current search by e-mail. Optionally you can add a message."
\ No newline at end of file
...@@ -50,4 +50,8 @@ permission_extended_access = "Zugriff auf alle Dienstleistungen, Lizenzen und In ...@@ -50,4 +50,8 @@ permission_extended_access = "Zugriff auf alle Dienstleistungen, Lizenzen und In
Edit Account = Persönliche Angaben ändern Edit Account = Persönliche Angaben ändern
acquisition_fid_name = "adlr.link" acquisition_fid_name = "adlr.link"
acquisition_library = "Universitätsbibliothek Leipzig" acquisition_library = "Universitätsbibliothek Leipzig"
\ No newline at end of file
password_reset_form_title = "Passwort ändern"
password_reset_form_information = "Bitte geben Sie die E-Mail-Adresse ein, mit der Sie sich bei adlr.link registriert haben. Wir senden Ihnen einen Link per E-Mail, über den Sie Ihr Passwort ändern können."
username_change_form_information = "Bitte geben Sie Ihre neue E-Mail-Adresse ein. Wir senden Ihnen einen Link per E-Mail, über den Sie Ihre neue E-Mail-Adresse bestätigen müssen. Danach können Sie sich mit Ihrer neuen E-Mail-Adresse bei adlr.link anmelden."
\ No newline at end of file
...@@ -51,4 +51,8 @@ permission_full_access = "Access to services and licenses" ...@@ -51,4 +51,8 @@ permission_full_access = "Access to services and licenses"
permission_extended_access = "Access to all services and licenses and staff view" permission_extended_access = "Access to all services and licenses and staff view"
acquisition_fid_name = "adlr.link" acquisition_fid_name = "adlr.link"
acquisition_library = "Leipzig University Library" acquisition_library = "Leipzig University Library"
\ No newline at end of file
password_reset_form_title = "Change password"
password_reset_form_information = "Please enter the e-mail address by which you registered your user account at adlr.link. We will send you a link to change your password."
username_change_form_information = "Please enter your new e-mail address. We will send you a link to confirm your new email address. Then you can login to adlr.link with your new e-mail address."
\ No newline at end of file
...@@ -10,6 +10,9 @@ input.form-control:not(.search-query), select.form-control, textarea.form-contro ...@@ -10,6 +10,9 @@ input.form-control:not(.search-query), select.form-control, textarea.form-contro
border: 3px solid $black; border: 3px solid $black;
border-radius: 2px; border-radius: 2px;
color: $black; color: $black;
}
input.form-control:not(.search-query), select.form-control, input.form-control:not(.search-query){
height: em(60px); height: em(60px);
} }
......
<!-- adlr-record - EMAIL.phtml -->
<?
// Set page title.
$this->headTitle($this->translate('Email Record'));
// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li> ')
. '<li>' . $this->recordLink()->getBreadcrumb($this->driver) . '</li> '
. '<li class="active">' . $this->transEsc('Email Record') . '</li>';
?>
<h2><?=$this->transEsc('Email Record') ?>: <span class="title-in-heading"><?=$this->escapeHtml($this->driver->getBreadcrumb())?></span></h2>
<form method="post" action="<?=$this->recordLink()->getActionUrl($this->driver, 'Email')?>" name="emailRecord">
<?=$this->flashmessages()?>
<?=$this->transEsc('email_record_information')?>
<input type="hidden" name="id" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueId())?>" />
<input type="hidden" name="source" value="<?=$this->escapeHtmlAttr($this->driver->getSourceIdentifier())?>" />
<?=$this->render('Helpers/email-form-fields.phtml')?>
</form>
<!-- adlr-record - EMAIL.phtml end -->
\ No newline at end of file
<!-- adlr-search - EMAIL.phtml -->
<?
// Set page title.
$this->headTitle($this->translate('Email this Search'));
// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li> ') .
'<li class="active">' . $this->transEsc('Email this Search') . '</li>';
?>
<h2><?=$this->transEsc('Email this Search') ?></h2>
<?=$this->flashmessages()?>
<?=$this->transEsc('email_search_information')?>
<form method="post" name="emailSearch">
<input type="hidden" name="url" value="<?=$this->escapeHtmlAttr($this->url)?>" />
<?=$this->render('Helpers/email-form-fields.phtml')?>
</form>
<!-- adlr-search - EMAIL.phtml end -->
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment