From 19206df3402fc96134d9bd6c890b8965a151c2ea Mon Sep 17 00:00:00 2001 From: Anders Bruun Severinsen <202204885@post.au.dk> Date: Thu, 12 Dec 2024 23:46:22 +0100 Subject: [PATCH] Add confirmation email functionality for bartender applications --- bartenders/forms.py | 37 +++++ .../migrations/0005_auto_20241212_2345.py | 57 ++++++++ bartenders/models.py | 11 +- bartenders/tests.py | 2 +- bartenders/views.py | 3 + fredagscafeen/email.py | 2 +- locale/da/LC_MESSAGES/django.mo | Bin 3809 -> 3982 bytes locale/da/LC_MESSAGES/django.po | 130 +++++++++--------- locale/en/LC_MESSAGES/django.mo | Bin 25171 -> 25135 bytes locale/en/LC_MESSAGES/django.po | 96 ++++++------- 10 files changed, 219 insertions(+), 119 deletions(-) create mode 100644 bartenders/migrations/0005_auto_20241212_2345.py diff --git a/bartenders/forms.py b/bartenders/forms.py index 965675b..389d863 100644 --- a/bartenders/forms.py +++ b/bartenders/forms.py @@ -68,6 +68,43 @@ def send_email(self, pk): to=["best@fredagscafeen.dk"], ) + def send_confirmation_email(self, pk): + d = self.cleaned_data + + extra_info = "" + if d["info"]: + extra_info = f""" +Ekstra information: +{d["info"]} +""" + d["extra_info"] = extra_info + + return send_template_email( + subject=f"Kvittering for bartendertilmelding til fredagscaféen", + body_template="""Dette er en automatisk email. + +Hej {name}, + +Tak for din ansøgning om at blive bartender i fredagscaféen! +Vi gennemgår din ansøgning på næste bestyrelsesmøde, så forvent lidt ventetid, før du hører fra os. + +Kopi af din ansøgning: + +Navn: {name} +Brugernavn: {username} +Studienummer: {studentNumber} +Email: {email} +Telefonnummer: {phoneNumber} +{extra_info} + +/snek""", + text_format={**d}, + html_format={ + **d, + }, + to=[d["email"]], + ) + class BartenderInfoForm(forms.ModelForm): class Meta: diff --git a/bartenders/migrations/0005_auto_20241212_2345.py b/bartenders/migrations/0005_auto_20241212_2345.py new file mode 100644 index 0000000..fbb61bb --- /dev/null +++ b/bartenders/migrations/0005_auto_20241212_2345.py @@ -0,0 +1,57 @@ +# Generated by Django 3.2.4 on 2024-12-12 22:45 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ( + "bartenders", + "0004_alter_bartender_email_alter_bartender_tshirt_size_and_more", + ), + ] + + operations = [ + migrations.AlterModelOptions( + name="bartendershift", + options={"ordering": ("-start_datetime",)}, + ), + migrations.AlterField( + model_name="bartender", + name="email", + field=models.EmailField( + help_text="En post.au mail fungerer ikke", + max_length=254, + unique=True, + verbose_name="E-mail", + ), + ), + migrations.AlterField( + model_name="bartender", + name="studentNumber", + field=models.IntegerField(null=True, verbose_name="Studienummer"), + ), + migrations.AlterField( + model_name="bartenderapplication", + name="email", + field=models.EmailField( + help_text="En post.au mail fungerer ikke", + max_length=254, + unique=True, + verbose_name="E-mail", + ), + ), + migrations.AlterField( + model_name="bartenderapplication", + name="info", + field=models.TextField( + help_text="Fortæl lidt om dig selv, og hvorfor du tror at lige præcist du, ville være en god bartender" + ), + ), + migrations.AlterField( + model_name="bartenderapplication", + name="studentNumber", + field=models.IntegerField(null=True, verbose_name="Studienummer"), + ), + ] diff --git a/bartenders/models.py b/bartenders/models.py index ca76e76..630d59a 100644 --- a/bartenders/models.py +++ b/bartenders/models.py @@ -55,12 +55,12 @@ class Meta: ) email = models.EmailField( unique=True, - blank=True, + blank=False, verbose_name=_("E-mail"), help_text=_("En post.au mail fungerer ikke"), ) studentNumber = models.IntegerField( - blank=True, null=True, verbose_name=_("Studienummer") + blank=False, null=True, verbose_name=_("Studienummer") ) phoneNumber = models.IntegerField( blank=True, null=True, verbose_name=_("Telefonnummer") @@ -242,7 +242,10 @@ class BartenderApplication(BartenderCommon): study = models.CharField(max_length=50, verbose_name=_("Studie")) study_year = models.IntegerField(verbose_name=_("Årgang")) info = models.TextField( - blank=True, help_text=_("Eventuelle ekstra info til bestyrelsen skrives her") + blank=False, + help_text=_( + "Fortæl lidt om dig selv, og hvorfor du tror at lige præcist du, ville være en god bartender" + ), ) created = models.DateTimeField(auto_now_add=True) @@ -400,7 +403,7 @@ class BartenderShift(models.Model): ) class Meta: - ordering = ("start_datetime",) + ordering = ("-start_datetime",) def save(self, *args, **kwargs): if not self.end_datetime: diff --git a/bartenders/tests.py b/bartenders/tests.py index 03e32d5..c72a610 100644 --- a/bartenders/tests.py +++ b/bartenders/tests.py @@ -79,7 +79,7 @@ def test_sending_application(self): # Test that application was made self.assertTrue(BartenderApplication.objects.exists()) # And mail was sent - self.assertEqual(len(mail.outbox), 1) + self.assertEqual(len(mail.outbox), 2) def test_invalid_application(self): data = dict( diff --git a/bartenders/views.py b/bartenders/views.py index 532de7c..ae633eb 100644 --- a/bartenders/views.py +++ b/bartenders/views.py @@ -59,6 +59,9 @@ def form_valid(self, form): # Send email to best form.send_email(self.object.pk) + + # Send email to applicant + form.send_confirmation_email(self.object.pk) messages.success(self.request, _("Din ansøgning er blevet indsendt.")) return response diff --git a/fredagscafeen/email.py b/fredagscafeen/email.py index 9766da3..6febc00 100644 --- a/fredagscafeen/email.py +++ b/fredagscafeen/email.py @@ -10,7 +10,7 @@ def send_template_email( html_format={}, from_email="best@fredagscafeen.dk", cc=[], - reply_to=[], + reply_to=["best@fredagscafeen.dk"], ): body_text = render_to_string( "email.txt", {"content": body_template.format(**text_format)} diff --git a/locale/da/LC_MESSAGES/django.mo b/locale/da/LC_MESSAGES/django.mo index dd0aabb824020f5efffef26f1c11223a89aedfc6..21b5fd57577e0201fa32b558b7df5dd71a6407fe 100644 GIT binary patch delta 1395 zcmYk+KWI}?6vy$?G_RWG#hUnE6Js^;Z)%LKHEOE(4^$`!Lc0V+DyUE$x(F_>w2)05 z)Cy9tR0jtIF^GaoL6_ivZFCM(SV1Ln8LAmY#b4;L zzomJ~MlNKLYjzZ)*o#}S59i_tF2I|Z$0{oEkJy5raVgHAP8{ctbpIeyR6Bwh>_#Oz zfKm3hVJ6!6GU}uwZas=V>sxMp9}}z}VGN%;-=IqS36iIbGY*SoLHYkLxs!#uY zu4mRpYgvjn%{=LOsh6I|&VySVN^$pKD`pfB%(2bF!KX VpJ=E~c*(}97kLt@{)m1L{Q=IOWyb&j delta 1218 zcmbW#Pe@cz6vy%7-?SOaKcR**`M^Jc&d{6DB1{O;5DKG(i>M&Rc;etN*32X%!azhW zWD1fJ+z4%gpjx<%uwAr?k`@O2F@iRRLbPes_ZJu1H@tbDd)}S7=iGDOo%XG0@l#{v zedBYIZ-noGaz$q0%70cctRt?)2Hb;f*p408g2T8MFFGgj1o1WO!zZ{8w@~ZsVzpV( zely^*vMRHKSdC1WhkAY(xh%#_iINz_)2KqGP=#N`B$luq*WLVERAHMg{)XDnHg=KU zb{TM4Gg*5uf+}E?TL{mh7QTQrSi&ZJfJg8#s?ZO(A3tL&?x1#FLzS8zL^XE^J8=Z- z$!}=}N;HT3$8MtvD!F(G!^A5teuRz0Pq7YPI^UpL{1H{)HmYN)T03q^s6v0B&i)s2Sq%p+n^9-q$xQ|Jp$ZyBy>yo`h7-=a zsE)QiXQ0a7qY`YQ4P`P*4WY=|R8^`hd1^Mu7On@GOyC96`9dz`rL&VWULl?FCW3t7 zMlQ(YgRGaI&ZTFAyf+o()?QUdE4s(y!?_?;NY7;BBdJ0#;3fTJe>{nD7F?Q89e^8d-P8r~`Y1I\n" "Language-Team: LANGUAGE \n" @@ -72,7 +72,7 @@ msgid "Total forbrug" msgstr "Total forbrug" #: bartab/templates/bartab.html:19 bartenders/templates/barplan.html:19 -#: gallery/models.py:100 +#: gallery/models.py:101 msgid "Dato" msgstr "Dato" @@ -141,13 +141,15 @@ msgstr "til" msgid "Studie" msgstr "Studie" -#: bartenders/models.py:243 gallery/models.py:37 +#: bartenders/models.py:243 gallery/models.py:40 msgid "Årgang" msgstr "Årgang" #: bartenders/models.py:245 -msgid "Eventuelle ekstra info til bestyrelsen skrives her" -msgstr "Eventuelle ekstra info til bestyrelsen skrives her" +msgid "" +"Fortæl lidt om dig selv, og hvorfor du tror at lige præcist du, ville være " +"en god bartender" +msgstr "" #: bartenders/templates/ballots_update.html:18 #: bartenders/templates/bartender_info.html:41 @@ -188,7 +190,7 @@ msgstr "Bartenderens første vagt" msgid "Edit" msgstr "Rediger" -#: bartenders/templates/barplan.html:49 bartenders/views.py:147 +#: bartenders/templates/barplan.html:49 bartenders/views.py:150 msgid "Pantvagter" msgstr "" @@ -219,8 +221,7 @@ msgstr "" #: bartenders/templates/bartender_info.html:49 #: bartenders/templates/bartender_info.html:56 msgid "" -"Husk at du som inaktiv bartender ikke kan komme til " -"bartenderarrangementerne." +"Husk at du som inaktiv bartender ikke kan komme til bartenderarrangementerne." msgstr "" #: bartenders/templates/bartender_info.html:49 @@ -342,23 +343,23 @@ msgstr "" msgid "Bartendertilmeldingen er lukket." msgstr "" -#: bartenders/views.py:62 +#: bartenders/views.py:65 msgid "Din ansøgning er blevet indsendt." msgstr "" -#: bartenders/views.py:108 +#: bartenders/views.py:111 msgid "Barvagter" msgstr "" -#: bartenders/views.py:131 bartenders/views.py:170 +#: bartenders/views.py:134 bartenders/views.py:173 msgid "Responsible" msgstr "Ansvarlig" -#: bartenders/views.py:132 +#: bartenders/views.py:135 msgid "Other bartenders" msgstr "Andre bartendere" -#: bartenders/views.py:279 +#: bartenders/views.py:282 msgid "Profil opdateret" msgstr "" @@ -449,7 +450,7 @@ msgstr "" msgid "Lokation" msgstr "" -#: events/templates/events.html:39 gallery/models.py:39 +#: events/templates/events.html:39 gallery/models.py:42 msgid "Beskrivelse" msgstr "" @@ -502,7 +503,7 @@ msgstr "Dansk" msgid "English" msgstr "Engelsk" -#: gallery/admin.py:76 gallery/admin.py:79 gallery/templates/album.html:16 +#: gallery/admin.py:78 gallery/admin.py:81 gallery/templates/album.html:16 msgid "Udvælg billeder" msgstr "" @@ -514,66 +515,62 @@ msgstr "" msgid "Udgivelsesdato" msgstr "" -#: gallery/models.py:36 +#: gallery/models.py:37 gallery/models.py:122 gallery/models.py:155 +msgid "Thumbnail" +msgstr "" + +#: gallery/models.py:39 msgid "Arrangement" msgstr "" -#: gallery/models.py:38 gallery/models.py:106 +#: gallery/models.py:41 gallery/models.py:107 msgid "Kort titel" msgstr "" -#: gallery/models.py:76 items/templates/items.html:55 +#: gallery/models.py:77 items/templates/items.html:55 msgid "Image" msgstr "Billede" -#: gallery/models.py:77 +#: gallery/models.py:78 msgid "Video" msgstr "" -#: gallery/models.py:78 +#: gallery/models.py:79 msgid "Audio" msgstr "" -#: gallery/models.py:79 +#: gallery/models.py:80 msgid "Other" msgstr "" -#: gallery/models.py:88 +#: gallery/models.py:89 msgid "Synligt" msgstr "" -#: gallery/models.py:89 +#: gallery/models.py:90 msgid "Frasorteret" msgstr "" -#: gallery/models.py:90 +#: gallery/models.py:91 msgid "Skjult" msgstr "" -#: gallery/models.py:91 +#: gallery/models.py:92 msgid "Slet" msgstr "" -#: gallery/models.py:92 +#: gallery/models.py:93 msgid "Ubesluttet" msgstr "" -#: gallery/models.py:102 +#: gallery/models.py:103 msgid "Synlighed" msgstr "" -#: gallery/models.py:104 +#: gallery/models.py:105 msgid "Overskrift" msgstr "" -#: gallery/models.py:116 -msgid "Vis på forsiden" -msgstr "" - -#: gallery/models.py:122 gallery/models.py:155 -msgid "Thumbnail" -msgstr "" - #: gallery/templates/admin/gallery/add_form.html:4 #: gallery/templates/admin/gallery/change_form.html:10 msgid "" @@ -663,7 +660,7 @@ msgstr "" msgid "Årets gang" msgstr "" -#: gallery/templates/gallery.html:61 +#: gallery/templates/gallery.html:55 msgid "" "\n" " billede\n" @@ -675,7 +672,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: gallery/templates/gallery.html:82 +#: gallery/templates/gallery.html:76 msgid "Ingen albums med billeder fundet." msgstr "" @@ -707,23 +704,19 @@ msgstr "" msgid "Næste" msgstr "" -#: gallery/views.py:72 -msgid "No albums exist" -msgstr "" - -#: gallery/views.py:146 gallery/views.py:149 +#: gallery/views.py:144 gallery/views.py:147 msgid "Billedet kan ikke findes" msgstr "" -#: gallery/views.py:251 +#: gallery/views.py:248 msgid "Synlighed på givne billeder er blevet opdateret" msgstr "" -#: gallery/views.py:255 +#: gallery/views.py:252 msgid "Fredagscaféens billedalbummer" msgstr "" -#: gallery/views.py:260 +#: gallery/views.py:257 msgid "Feed med nye billedalbummer fra Fredagscaféens begivenheder." msgstr "" @@ -746,8 +739,8 @@ msgstr "" #: guides/templates/guides.html:9 msgctxt "Fredagscaféen" msgid "" -"Her ligger alle de lækre guides, som er rare at have, når man involverer sig" -" i driften af" +"Her ligger alle de lækre guides, som er rare at have, når man involverer sig " +"i driften af" msgstr "" #: guides/templates/guides.html:12 @@ -759,9 +752,12 @@ msgstr "" #: items/templates/items.html:11 msgid "" "\n" -"\tHer kan du se Fredagscaféens faste sortiment, og mange af de ting vi er kendte for at sælge.\n" -"\tMen derudover finder du altid et stort sortiment af spændende og nye specialøl, for enhver smag, i baren.\n" -"\tVi har i Fredagscaféen et stort fokus på at have noget for alle, så derfor finder du også flere\n" +"\tHer kan du se Fredagscaféens faste sortiment, og mange af de ting vi er " +"kendte for at sælge.\n" +"\tMen derudover finder du altid et stort sortiment af spændende og nye " +"specialøl, for enhver smag, i baren.\n" +"\tVi har i Fredagscaféen et stort fokus på at have noget for alle, så derfor " +"finder du også flere\n" "\tglutenfrie og alkoholfrie øl.\n" "\t" msgstr "" @@ -890,8 +886,8 @@ msgstr "" #: udlejning/models.py:64 msgid "" -"Hvilke slags øl eller andre drikkevarer ønskes der og hvor mange fustager af" -" hver type?" +"Hvilke slags øl eller andre drikkevarer ønskes der og hvor mange fustager af " +"hver type?" msgstr "" #: udlejning/models.py:67 @@ -1014,8 +1010,7 @@ msgstr "" #: udlejning/templates/udlejning.html:42 msgid "" -"Udelukkende arrangementer der finder sted på universitetet. Dette " -"inkluderer:" +"Udelukkende arrangementer der finder sted på universitetet. Dette inkluderer:" msgstr "" #: udlejning/templates/udlejning.html:44 @@ -1032,8 +1027,8 @@ msgstr "" #: udlejning/templates/udlejning.html:50 msgid "" -"Arrangementer der finder sted på universitetet eller andetsteds, kan være af" -" privat natur. Dette inkluderer:" +"Arrangementer der finder sted på universitetet eller andetsteds, kan være af " +"privat natur. Dette inkluderer:" msgstr "" #: udlejning/templates/udlejning.html:52 @@ -1076,10 +1071,10 @@ msgstr "" #: udlejning/templates/udlejning.html:72 msgid "" -"Når du låner et anlæg, skal der på udlåningsdagen samt tilbagelevering, være" -" et bestyrelsesmedlem der står for det praktiske. Vi er alle frivillige og " -"har studier og jobs ved siden af vorest bestyrelsesarbejde, og derfor kan vi" -" ikke være sikre på at kunne stille et besyterelsesmedlem til rådighed." +"Når du låner et anlæg, skal der på udlåningsdagen samt tilbagelevering, være " +"et bestyrelsesmedlem der står for det praktiske. Vi er alle frivillige og " +"har studier og jobs ved siden af vorest bestyrelsesarbejde, og derfor kan vi " +"ikke være sikre på at kunne stille et besyterelsesmedlem til rådighed." msgstr "" #: udlejning/templates/udlejning.html:74 @@ -1096,8 +1091,8 @@ msgid "" "mulighed for at være der i en af de mulige tidsrum. Hvis ikke du skriver " "mindst 7 dage i forvejen, kan vi ikke garantere at vi kan melde ud hvorvidt " "udlejning er muligt i god tid, dog er det stadig muligt at kunne låne " -"anlægget selv hvis man melder ud i dårlig tid, vi kan blot ikke garantere at" -" der kommer et svar i god tid." +"anlægget selv hvis man melder ud i dårlig tid, vi kan blot ikke garantere at " +"der kommer et svar i god tid." msgstr "" #: udlejning/templates/udlejning.html:79 @@ -1114,8 +1109,7 @@ msgstr "" #: udlejning/templates/udlejning.html:91 msgid "" -", som kommer i 25 liters fustager. Prisen er 750 kr. pr. fustage (incl. " -"moms)" +", som kommer i 25 liters fustager. Prisen er 750 kr. pr. fustage (incl. moms)" msgstr "" #: udlejning/templates/udlejning.html:94 @@ -1380,10 +1374,12 @@ msgid "Missing from environment" msgstr "Fraværende i miljøet" #: web/views.py:48 -msgid "" -"Login mail sendt: Tryk på linket i din modtagede mail for at logge ind." +msgid "Login mail sendt: Tryk på linket i din modtagede mail for at logge ind." msgstr "" +#~ msgid "Eventuelle ekstra info til bestyrelsen skrives her" +#~ msgstr "Eventuelle ekstra info til bestyrelsen skrives her" + #~ msgid "bartenders" #~ msgstr "bartendere" diff --git a/locale/en/LC_MESSAGES/django.mo b/locale/en/LC_MESSAGES/django.mo index a579ca623bd7751890be00708d5746f7b15e0600..a3f01e765610612439c57b3b14fda0adf62e27c7 100644 GIT binary patch delta 5185 zcmYk;2~btn9mny5Ae$fxihu;JyC^6EiHaLUjTow^Soej8JQhWtJ{};|%u{1EYLh0x zrD?{xw817#)%s$sOSBz`b!v@qs!40cR@+*ev|7cqi59irANS6r8N%n>d(S=RfBye- zF8;11=uk_L|BtaDI}HB~4KgMfw@2v8n5ej~&7>L4^-TJV#kE{Fb~9!)cInRlI0a*I zk>e`N=XxVf!L!&AyT#ikVYo4VW6=oaK^peJ49vlasDQqOifI={;y%i7@GHcaJtbb=EgDv*g7gVRvS zDnScwWr?XpkD)wp`jHP;sjiVd3YGt;XUk$UVbUHuV8O{ zgqqNzPI_+;7NQ4B@FW&vGRqx?D^c(7M+Mk5h5W1b2`TnUlTi^5K&?0(wTW_2HLOFb zVb-EjxEv*I<}X6KM5Cczc+Tp^{742h)Zz~5~GPEeJX95pN0m^L1khzYFFo> zRyxIb?nbR(IcfkO#sx7jYBwL~V;{2%s0H-w>r8;NxX!`3xD8dxn>ZBxLA{_#AfcPg!sQX5bdo3XkCsY({0S6*++>Xn2T{2O5)w@u>TgQTIzw--&7rM?WgFFQFE^ z17mdl_tMb$J&a083x?nq?H!DHfE~GxNV8WEg9@kz7GMg7V+Cr$m8jCah}sKp;tYI< zI(}1Fz7|%2q0DbK(4cH)3+nv;6m?$Dq5^q{9qkK(V8PUhWSJ<`LUK@>IT!sJppb@~g`Loans_;CATR2L22=^QVg&9*?ecdVPoZl6 zAu1EsFdFY7e=f{p)NzbsqbL)ZL&(2Y{5&@_@e&yy1E`gq zKt3Jj9O}KlJGP=y--eyBBZFz7-B1h7KxJg4-?=drRf2ig1>L9t>rk0khnjE`s^4~0 zKzp3)AK_H451}S}jCwzs@2)mm4^-e;sLeSMbz1xjX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?Y{4-b#sx(=slbMLxI1g2lS*Yjc z;VAT?=IysVgj)Yy)cn)P3Gx2Z&_?$$8Y7;y9!x^jHW?N1V0(NN>TWo35Kct}(q#Yc zL(Olq-H3_wx1%b(>^|Rm@3Tpd<< zRqcX0M}1YbW4_y4zr^FN_PT2w-bJ3OMz_~d>Gt^dCM^%}uY9sKG{WJkp5IX8b-0_W zy!HNoL3_g^tGtfICw4g&)OoyB74BO9o)P^zgr%pZWjNA@XQe&0@j_Oj)g6|Wm7eK; zl=aWf**UdK9IlFrs`{$BT37Ys06aA=^|X$ozS8ZOU+3~vILckMMCEAmRMpoL6v4Rt sUrt&P;6I#O`2W!a&8!KJn^{@c\n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -72,7 +72,7 @@ msgid "Total forbrug" msgstr "Total consumption" #: bartab/templates/bartab.html:19 bartenders/templates/barplan.html:19 -#: gallery/models.py:100 +#: gallery/models.py:101 msgid "Dato" msgstr "Date" @@ -141,13 +141,17 @@ msgstr "to" msgid "Studie" msgstr "Study" -#: bartenders/models.py:243 gallery/models.py:37 +#: bartenders/models.py:243 gallery/models.py:40 msgid "Årgang" msgstr "Year" #: bartenders/models.py:245 -msgid "Eventuelle ekstra info til bestyrelsen skrives her" -msgstr "Any additional information for the board can be written here" +msgid "" +"Fortæl lidt om dig selv, og hvorfor du tror at lige præcist du, ville være " +"en god bartender" +msgstr "" +"Tell us a little bit about yourself and why you think you would be a good " +"bartender." #: bartenders/templates/ballots_update.html:18 #: bartenders/templates/bartender_info.html:41 @@ -188,7 +192,7 @@ msgstr "Bartender's first shift" msgid "Edit" msgstr "Edit" -#: bartenders/templates/barplan.html:49 bartenders/views.py:147 +#: bartenders/templates/barplan.html:49 bartenders/views.py:150 msgid "Pantvagter" msgstr "Deposit shifts" @@ -356,23 +360,23 @@ msgstr "Submit" msgid "Bartendertilmeldingen er lukket." msgstr "Bartender applications are closed." -#: bartenders/views.py:62 +#: bartenders/views.py:65 msgid "Din ansøgning er blevet indsendt." msgstr "Your application has been submitted." -#: bartenders/views.py:108 +#: bartenders/views.py:111 msgid "Barvagter" msgstr "Bar Shifts" -#: bartenders/views.py:131 bartenders/views.py:170 +#: bartenders/views.py:134 bartenders/views.py:173 msgid "Responsible" msgstr "Responsible" -#: bartenders/views.py:132 +#: bartenders/views.py:135 msgid "Other bartenders" msgstr "Other bartenders" -#: bartenders/views.py:279 +#: bartenders/views.py:282 msgid "Profil opdateret" msgstr "Profil updated" @@ -473,7 +477,7 @@ msgstr "too late" msgid "Lokation" msgstr "Location" -#: events/templates/events.html:39 gallery/models.py:39 +#: events/templates/events.html:39 gallery/models.py:42 msgid "Beskrivelse" msgstr "Description" @@ -526,7 +530,7 @@ msgstr "Danish" msgid "English" msgstr "English" -#: gallery/admin.py:76 gallery/admin.py:79 gallery/templates/album.html:16 +#: gallery/admin.py:78 gallery/admin.py:81 gallery/templates/album.html:16 msgid "Udvælg billeder" msgstr "Select images" @@ -538,67 +542,62 @@ msgstr "Title" msgid "Udgivelsesdato" msgstr "Release date" -#: gallery/models.py:36 -#| msgid "interne arrangementer" +#: gallery/models.py:37 gallery/models.py:122 gallery/models.py:155 +msgid "Thumbnail" +msgstr "Thumbnail" + +#: gallery/models.py:39 msgid "Arrangement" msgstr "Event" -#: gallery/models.py:38 gallery/models.py:106 +#: gallery/models.py:41 gallery/models.py:107 msgid "Kort titel" msgstr "Short title" -#: gallery/models.py:76 items/templates/items.html:55 +#: gallery/models.py:77 items/templates/items.html:55 msgid "Image" msgstr "Image" -#: gallery/models.py:77 +#: gallery/models.py:78 msgid "Video" msgstr "Video" -#: gallery/models.py:78 +#: gallery/models.py:79 msgid "Audio" msgstr "Audio" -#: gallery/models.py:79 +#: gallery/models.py:80 msgid "Other" msgstr "Other" -#: gallery/models.py:88 +#: gallery/models.py:89 msgid "Synligt" msgstr "Visible" -#: gallery/models.py:89 +#: gallery/models.py:90 msgid "Frasorteret" msgstr "Discarded" -#: gallery/models.py:90 +#: gallery/models.py:91 msgid "Skjult" msgstr "Hidden" -#: gallery/models.py:91 +#: gallery/models.py:92 msgid "Slet" msgstr "Delete" -#: gallery/models.py:92 +#: gallery/models.py:93 msgid "Ubesluttet" msgstr "Undecided" -#: gallery/models.py:102 +#: gallery/models.py:103 msgid "Synlighed" msgstr "Visibility" -#: gallery/models.py:104 +#: gallery/models.py:105 msgid "Overskrift" msgstr "Title" -#: gallery/models.py:116 -msgid "Vis på forsiden" -msgstr "Show on the front page" - -#: gallery/models.py:122 gallery/models.py:155 -msgid "Thumbnail" -msgstr "Thumbnail" - #: gallery/templates/admin/gallery/add_form.html:4 #: gallery/templates/admin/gallery/change_form.html:10 msgid "" @@ -704,7 +703,7 @@ msgstr "Back to" msgid "Årets gang" msgstr "The years course" -#: gallery/templates/gallery.html:61 +#: gallery/templates/gallery.html:55 msgid "" "\n" " billede\n" @@ -720,7 +719,7 @@ msgstr[1] "" "\n" "images" -#: gallery/templates/gallery.html:82 +#: gallery/templates/gallery.html:76 msgid "Ingen albums med billeder fundet." msgstr "No albums with images found." @@ -756,23 +755,19 @@ msgstr "Previous" msgid "Næste" msgstr "Next" -#: gallery/views.py:72 -msgid "No albums exist" -msgstr "No albums exist" - -#: gallery/views.py:146 gallery/views.py:149 +#: gallery/views.py:144 gallery/views.py:147 msgid "Billedet kan ikke findes" msgstr "The image cannot be found" -#: gallery/views.py:251 +#: gallery/views.py:248 msgid "Synlighed på givne billeder er blevet opdateret" msgstr "Visibility on given images has been updated" -#: gallery/views.py:255 +#: gallery/views.py:252 msgid "Fredagscaféens billedalbummer" msgstr "Fredagscaféens photo albums" -#: gallery/views.py:260 +#: gallery/views.py:257 msgid "Feed med nye billedalbummer fra Fredagscaféens begivenheder." msgstr "Feed with new photo albums from Fredagscaféens events." @@ -1482,6 +1477,15 @@ msgid "" "Login mail sendt: Tryk på linket i din modtagede mail for at logge ind." msgstr "Login mail sent: Press the link in your received email to log in." +#~ msgid "Eventuelle ekstra info til bestyrelsen skrives her" +#~ msgstr "Any additional information for the board can be written here" + +#~ msgid "Vis på forsiden" +#~ msgstr "Show on the front page" + +#~ msgid "No albums exist" +#~ msgstr "No albums exist" + #~ msgid "billede" #~ msgstr "image"