-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a button for admin to list users and their email address (#777)
* add modal to list users * copy to clipboard and table with date next year * update translation files for event * fix multi line translation
- Loading branch information
Showing
22 changed files
with
139 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -111,40 +111,40 @@ msgstr "" | |
"Below you will find information about the main groups currently open for " | ||
"admission" | ||
|
||
#: applications/templates/applications/application_info.html:66 | ||
#: applications/templates/applications/application_info.html:95 | ||
#: applications/templates/applications/application_info.html:65 | ||
#: applications/templates/applications/application_info.html:92 | ||
msgid "Ingen grupper lagt til i opptaket." | ||
msgstr "No groups added to the admission process." | ||
|
||
#: applications/templates/applications/application_info.html:79 | ||
#: applications/templates/applications/application_info.html:76 | ||
msgid "Prosjektgruppene" | ||
msgstr "Project Groups" | ||
|
||
#: applications/templates/applications/application_info.html:80 | ||
#: applications/templates/applications/application_info.html:77 | ||
msgid "" | ||
"Prosjektgruppene gjennomfører en rekke prosjekter som varierer fra år til " | ||
"år. Prosjektene varer som oftest i to semestre." | ||
msgstr "" | ||
"The project groups carry out a variety of projects that vary from year to " | ||
"year. Projects usually last for two semesters." | ||
|
||
#: applications/templates/applications/application_info.html:81 | ||
#: applications/templates/applications/application_info.html:78 | ||
msgid "" | ||
"Som medlem av en prosjektgruppe jobber du konkret på et prosjekt sammen med " | ||
"andre på gruppen." | ||
msgstr "" | ||
"As a member of a project group, you work actively on a project alongside " | ||
"others in the group." | ||
|
||
#: applications/templates/applications/application_info.html:82 | ||
#: applications/templates/applications/application_info.html:79 | ||
msgid "" | ||
"Om du har forslag til noen andre prosjekter, kan dette sendes med et " | ||
"søknadsskjema." | ||
msgstr "" | ||
"If you have suggestions for other projects, you can include them in your " | ||
"application." | ||
|
||
#: applications/templates/applications/application_info.html:83 | ||
#: applications/templates/applications/application_info.html:80 | ||
msgid "Under finner du informasjon om prosjektene som har opptak nå." | ||
msgstr "" | ||
"Below you will find information about the projects currently open for " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -91,34 +91,34 @@ msgstr "" | |
msgid "Under finner du informasjon om hovedgruppene som har opptak nå" | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:66 | ||
#: applications/templates/applications/application_info.html:95 | ||
#: applications/templates/applications/application_info.html:65 | ||
#: applications/templates/applications/application_info.html:92 | ||
msgid "Ingen grupper lagt til i opptaket." | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:79 | ||
#: applications/templates/applications/application_info.html:76 | ||
msgid "Prosjektgruppene" | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:80 | ||
#: applications/templates/applications/application_info.html:77 | ||
msgid "" | ||
"Prosjektgruppene gjennomfører en rekke prosjekter som varierer fra år til " | ||
"år. Prosjektene varer som oftest i to semestre." | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:81 | ||
#: applications/templates/applications/application_info.html:78 | ||
msgid "" | ||
"Som medlem av en prosjektgruppe jobber du konkret på et prosjekt sammen med " | ||
"andre på gruppen." | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:82 | ||
#: applications/templates/applications/application_info.html:79 | ||
msgid "" | ||
"Om du har forslag til noen andre prosjekter, kan dette sendes med et " | ||
"søknadsskjema." | ||
msgstr "" | ||
|
||
#: applications/templates/applications/application_info.html:83 | ||
#: applications/templates/applications/application_info.html:80 | ||
msgid "Under finner du informasjon om prosjektene som har opptak nå." | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
34 changes: 34 additions & 0 deletions
34
internalportal/templates/internalportal/door-access-member-list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{% load i18n %} | ||
|
||
<div class="collection card-panel"> | ||
{% if users %} | ||
<button onclick="copyToClip()" class="btn waves-effect waves-light"> | ||
<i class="material-icons left">content_paste</i>{% trans "Kopier til utklippstavle" %} | ||
</button> | ||
<table class="striped" id="tableToCopy"> | ||
<thead> | ||
<th>{% trans "Navn" %}</th> | ||
<th>{% trans "Epost" %}</th> | ||
<th>{% trans "Tilgang til" %}</th> | ||
</thead> | ||
<tbody> | ||
|
||
{% for user in users %} | ||
<tr> | ||
<td>{{ user.first_name }} {{ user.last_name }}</td> | ||
<td>{{ user.email }}</td> | ||
<td>{{ next_year|date:"d.m.Y" }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% else %} | ||
<p>{% trans "Ingen aktive medlemmer." %}</p> | ||
{% endif %} | ||
</div> | ||
<script> | ||
function copyToClip() { | ||
let copyText = document.getElementById("tableToCopy"); | ||
navigator.clipboard.writeText(copyText.innerText.trim()); | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -320,19 +320,19 @@ msgstr "The registration deadline has passed." | |
#: news/templates/news/event.html:129 news/templates/news/event.html:131 | ||
#: news/templates/news/event.html:212 | ||
msgid "Meld deg av" | ||
msgstr "Unsubscribe" | ||
msgstr "Withdraw registration" | ||
|
||
#: news/templates/news/event.html:132 | ||
msgid "Fristen for avregistrering er ute." | ||
msgstr "The unsubscription deadline has passed." | ||
msgstr "The withdrawal deadline has passed." | ||
|
||
#: news/templates/news/event.html:136 | ||
msgid "Frist for påmelding er" | ||
msgstr "The registration deadline is" | ||
|
||
#: news/templates/news/event.html:137 | ||
msgid "Frist for avmelding er" | ||
msgstr "The unsubscription deadline is" | ||
msgstr "The withdrawal deadline is" | ||
|
||
#: news/templates/news/event.html:139 | ||
msgid "Arrangementet benytter ekstern nettside for pålogging." | ||
|
@@ -364,7 +364,7 @@ msgstr "Registration information" | |
|
||
#: news/templates/news/event.html:195 | ||
msgid "Du forsøker å melde deg av arrangementet." | ||
msgstr "You are trying to unsubscribe from the event." | ||
msgstr "You are trying to withdraw your registration from the event." | ||
|
||
#: news/templates/news/event.html:196 | ||
msgid "" | ||
|
@@ -379,7 +379,7 @@ msgid "" | |
"Arrangementets påmeldingsfrist er utløpt. Dersom du melder deg av, har du " | ||
"ikke mulighet til å melde deg på igjen." | ||
msgstr "" | ||
"The registration deadline for the event has expired. If you unsubscribe, you " | ||
"The registration deadline for the event has expired. If you withdraw your registration, you " | ||
"will not be able to register again." | ||
|
||
#: news/templates/news/event.html:201 | ||
|
@@ -388,7 +388,7 @@ msgstr "By registering for this event, it is expected that you attend." | |
|
||
#: news/templates/news/event.html:202 | ||
msgid "Du kan ikke melde deg av etter" | ||
msgstr "You cannot unsubscribe after" | ||
msgstr "You cannot withdraw your registration after" | ||
|
||
#: news/templates/news/event.html:204 | ||
msgid "Dette arrangementet har servering. Sørg for at dine" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-29 19:48+0200\n" | ||
"POT-Creation-Date: 2023-10-23 17:45+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
Oops, something went wrong.