renamed registration for drzb2011
[angular-mojolicious.git] / public / app / drzb2011 / registration-hr.html
1         <script>
2
3         if (typeof (console) === 'undefined') console = { debug: function() {} }; // mock console.debug
4
5         function Registration($resource){
6                 this.master = {
7                         person: {
8                                 name: '', surname: '', inst: '', email: ''
9                         },
10                         type: 'participant',
11                         work: {
12                                 title: '',
13                                 abstract: '',
14                                 authors:[ { name:'', surname:'', inst:'', email:'' } ],
15                                 organizers: []
16                         },
17                         symposium: { 
18                                 //organizers: [ {name:'', surname:'', inst:'', email:'' } ], 
19                                 organizers: [],
20                                 work_nr: 1
21                         }
22                 };
23                 this.Registration = $resource( '/data/conference/Registration/:id', { id:'' } );
24                 this.Symposium = $resource( '/data/conference/Symposium/:id', { id:'' } );
25                 this.reset();
26                 this.$watch('$location.hashPath', this.hash_change);
27         }
28         Registration.$inject=['$resource'];
29
30         Registration.prototype = {
31                 hash_change: function() {
32                         var id = this.$location.hashPath;
33         console.debug( 'hash_change', id, this.registration.$id );
34                         if ( id != this.registration.$id ) {
35                                 if (id) {
36                                         var self = this;
37                                         this.registration = this.Registration.get({ id: id }, function(registration) {
38                                                 self.last_saved = angular.copy(registration);
39                                                 if ( registration.type == 'symposium' ) {
40                                                         var s_id = registration.symposium.$id || registration.$id;
41                                                         // first registration doesn't have symposium.$id, but we used same $id
42         console.debug( 'load symposium ', s_id );
43                                                         self.symposium = self.Symposium.get({ id: s_id });
44                                                 }
45                                         });
46                                 }
47                                 else this.reset();
48                         }
49                 },
50                 reset: function() {
51                         console.debug( this.Registration );
52                         var last = this.registration;
53                         if ( last && last.type == 'symposium' ) {
54                                 if ( last.$id ) last.symposium.work_nr++; // only if saved
55                         }
56                         this.registration = new this.Registration( this.master );
57                         if ( last ) {
58                                 this.registration.type      = last.type;
59                                 this.registration.person    = last.person;
60
61                                 if ( last.type == 'symposium' )
62                                 this.registration.symposium = last.symposium;
63                         }
64                         this.last_saved = angular.copy( this.registration ); // FIXME was: {};
65         console.debug( 'reset', this.registration, this.$location.hashPath, last );
66                 },
67                 save: function(){
68                         var self = this;
69                         this.registration.$save(function(registration){
70                                 self.$location.hashPath = registration.$id;
71
72                                 // save symposium to separate resource
73                                 if ( registration.type == 'symposium' ) {
74                                         if ( ! self.symposium ) { 
75                                                 self.registration.symposium.$id = registration.$id; // reuse $id of first work for symposium
76                                                 self.symposium = new self.Symposium( registration.symposium );
77                                                 self.symposium.works = [];
78                                         }
79                                         registration.work.$id = registration.$id; // preserve $id
80                                         self.symposium.works[ registration.symposium.work_nr - 1 ] = registration.work;
81         console.debug('save_symposium', self.symposium );
82                                         self.symposium.$save();
83                                 }
84
85                                 self.last_saved = angular.copy(registration);
86                         });
87                 }
88         };
89
90         angular.validator.max_length = function(input, len) {
91                 var ok = input.length <= len;
92         console.debug( 'max_length', ok, input.length, len );
93                 return ok ? '' : 'must be shorter than '+len+' characters';
94         }
95
96         </script>
97
98
99         <style type="text/css">
100
101         body {
102                 background: #F6F6F6;
103                 margin: 40px;
104                 font-family: Arial;
105                 color: #374E5A;
106                 font-size: 14px;
107                 line-height: 16px;
108         }
109
110
111         label {
112                 display: block;
113                 color: #D74F25;
114                 color: #374E5A;
115                 color: #afafaf;
116                 margin-top: 10px;
117                 font-size: 14px;
118                 font-family: Arial;
119         }
120         h1 {
121         /*      margin-bottom: 6px;     */
122                 padding-left: 20px;
123                 font: 18px arial;
124                 color: #0c1426;
125                 text-decoration: none;
126                 display: block;
127                 background: url(http://mjesec.ffzg.hr/drzb2011/images/kvadrat.gif) no-repeat left;
128                 border-bottom: 1px solid #CCC;
129         }
130 h2, h3 {
131         margin-top: 60px;
132         font-size: 14px;
133         padding: 2px 0;
134         border-bottom: 2px solid #D74F25;
135         border-bottom: 1px solid #46d0fe;
136 }
137
138 h3 {
139         margin-top: 20px;
140 }
141
142 a {
143         color: #D74F25;
144 }
145
146 label {
147         color: #374E5A;
148 }
149
150 .input, .inputOrg {
151         color: #afafaf;
152         float: left;
153         margin: 2px;
154         padding: 0 6px;
155 }
156
157 .inputOrg {
158         color:  #374E5A;
159 }
160
161 .input1 {
162         width: 40.8em;
163 }
164
165 .input2 {
166         width: 8em;
167 }
168
169 .input3 {
170         width: 13em;
171 }
172 .input4 {
173         width: 10em;
174 }
175
176 .input5 {
177         width: 21.4em;
178 }
179 .input6 {
180         width: 6.3em;
181 }
182
183 .clear {
184         clear: both;
185 }
186
187
188 .authors {
189         clear: both;
190         margin-bottom: 6px;
191 }
192
193 .addPerson {
194         color: #D74F25;
195         color: #EDC8BC;
196         color: #EAB3A2;
197         font-size: 90%;
198 }
199
200 input, textarea {
201         font: 14px arial;
202         color: #000000;
203         border: solid 1px #dedede;
204         padding: 6px;
205         background: #f6f6f6;
206 }
207
208 input:focus, textarea:focus
209 {
210         
211         background: #ffffff;
212         font-family: arial;
213         color: #000000;
214 /*      border: 1px solid #46d0fe; */
215 }
216
217 .ng-validation-error {
218         border: 1px solid #FF6666;
219         border: 1px solid #EDC8BC;
220         border: 1px solid #FF9966;
221         border: 1px solid #EAB3A2;
222         border: 1px solid #D74F25;
223         border: 1px solid #DC6844;
224         border: 1px solid #DE7F61;
225 }
226
227
228
229 #work, #submission {
230         margin-bottom: 20px;
231 }
232
233 .button {
234         margin-top: 20px;
235         width: 40.8em;
236 }
237
238 .button input {
239         margin-bottom: 10px;
240         float: left;
241         color: #ffffff;
242         display: block;
243         text-decoration: none;
244         background: #d74f25;
245 }
246
247 .button input:hover, .gohome:hover {
248         /* background: #dc6844; */
249 }
250
251 .button2 input {
252         background: #F6F6F6;
253         color: #374E5A;
254         border: 1px solid #d74f25;
255         display: inline;
256 }
257
258
259 .gohome  {
260         float: left;
261         color: #374E5A;
262         border: 1px solid #d74f25;
263         text-decoration: none;
264         background: #f6f6f6;
265         padding: 7px;
266         margin-top: 20px;
267         font: 14px arial;
268         border: solid 1px #dedede;
269         border: solid 1px #f6f6f6;
270 }
271
272 .gohome a {
273 }
274
275 .gohome a:hover {
276         text-decoration: none;
277 }
278
279 .list {
280         margin-top: 20px;
281         font-weight: bold;
282 }
283
284 .warrning {
285         color: #FF6666;
286 }
287
288 .sworks {
289         margin-top: 20px;
290 }
291
292
293 .newWork {
294         clear: left;
295         margin-top: 50px;
296 }
297 .saved {
298         margin-bottom: 20px;
299         margin-top: 20px;
300 }
301 .saved2 {
302         color: #374E5A;
303         color: #d74f25;
304         font-weight: bold;
305         font-style: italic;
306         display: block;
307 }
308 .saved3 {
309         color: #374E5A;
310         font-weight: normal;
311         margin-top: 20px;
312 }
313 .footer {
314         height: 10px;
315 }
316 hr {
317         border: 1px solid #ccc;
318 }
319 </style>
320
321
322
323 <h1>Registracija i prijavljivanje izlaganja</h1>
324
325
326
327
328 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
329
330
331 <div ng:show="! registration.$id && ! symposium.$id">
332 <p>
333 Svi sudionici skupa, bez obzira na to jesu li izlagači, suautori ili slušači, moraju se registrirati kroz sustav elektroničke prijave.
334 </p>
335
336 <p>
337 Sažetak izlaganja/postera prijavljuje samo prvi autor, odnosno onaj autor koji će rad izložiti. Ostali suautori ne trebaju prijaviti sažetak, nego se samo registrirati.
338 </p>
339
340 <p>
341 Organizatori simpozija prijavljuju i sažetak simpozija i sažetak svakog pripadajućeg rada (mora ih biti četiri). Autori pojedinih radova unutar simpozija NE prijavljuju pojedinačno svoje sažetke, nego se u sustav registriraju kao sudionici simpozija.
342 </p>
343
344 <p>
345 Organizatori okruglog stola prijavljuju samo sažetak okruglog stola, a sudionici se registriraju kao sudionici okruglog stola.
346 </p>
347
348 <p>
349 Duljina sažetka treba biti između 1800 i 2000 znakova (uključujući razmake).
350 </p>
351
352 <p>
353 Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može biti prvi ili jedini autor ili autor koji će izlagati.
354 </p>
355
356
357
358 </div>
359
360 <!--
361 <a name="{{$location.hash}}" >bla</a>
362 -->
363
364 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
365
366
367 </div>
368 <div ng:show="registration.$id || symposium">
369         <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
370         <!--
371         <label>Institution: {{registration.person.inst}}</label>
372         <label>Address: {{registration.person.address1}}, {{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
373         -->
374         <label ng:show="registration.type == 'participant'">Tip registracije: Samo registracija</label>
375         <label ng:show="registration.type == 'accomp'">Tip registracije: Osoba u pratnji</label>
376         <label ng:show="registration.type == 'student'">Tip registracije: Student</label>
377         <label ng:show="registration.type == 'sparticipant'">Tip registracije: Sudionik simpozija/okriglog stola<span ng:show="registration.student == true">, student</span></label>
378         <label ng:show="registration.type == 'round'">Tip registracije: Organizator okruglog stola<span ng:show="registration.student == true">, student</span></label>
379         <label ng:show="registration.type == 'lecture'">Tip registracije: Usmeno priopćenje<span ng:show="registration.student == true">, student</span></label>
380         <label ng:show="registration.type == 'poster'">Tip registracije: Prezentacija postera<span ng:show="registration.student == true">, student</span></label>
381         <label ng:show="registration.type == 'poster' || registration.type == 'lecture'"><b>Title: </b>{{registration.work.title}}</label>
382         <div ng:show="registration.type == 'symposium'">
383                 <p>Tip registracije: Organizator simpozija</p>
384                 <label><b>Tema simpozija: </b><i>{{registration.symposium.title}}</i></label>
385                 <!--
386                 <label>Summary:</label> {{registration.symposium.abstract}}
387                 <br><br>
388                 -->
389                 <blockquote>
390                 <label>Prijavljeni radovi:</label>
391                 <ol>
392                 <li ng:repeat="w in symposium.works">
393                 <!--
394                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
395                 -->
396                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
397                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
398                 </li>
399                 </ol>
400                 </blockquote>
401         </div>
402 </div>
403 <!--
404 <div ng:show="registration.$id || symposium">
405         <h2>Contact Information</h2>
406         <label>{{registration.person.name}} {{registration.person.surname}}</label>
407         <label>{{registration.person.inst}}</label>
408         <label>{{registration.person.address1}}</label>
409         <label>{{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
410         <label ng:show="registration.type == 'participant'"><h3>Registration type</h3> no paper</label>
411         <div ng:show="registration.type == 'symposium'">
412                 <p>Symposium organizer</p>
413                 <h3>Symposium</h3>
414                 <label>Topic:</label><i>{{registration.symposium.title}}</i>
415                 <label>Summary:</label> {{registration.symposium.abstract}}
416                 <br><br>
417                 <label>Submitted papers for this symposium:</label>
418                 <ol>
419                 <li ng:repeat="w in symposium.works">
420                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
421                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
422                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
423                 </li>
424                 </ol>
425         </div>
426 </div>
427 -->
428
429
430 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
431         <div>
432                 <h2>Tip registracije</h2>
433                 <label><input type="radio" name="registration.type" value="participant" ng:required>Samo registracija</label>
434                 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Sudionik simpozija/okruglog stola</label>
435                 <label><input type="radio" name="registration.type" value="symposium" ng:required>Organizator simpozija</label>
436                 <label><input type="radio" name="registration.type" value="round" ng:required>Organizator okruglog stola</label>
437                 <label><input type="radio" name="registration.type" value="lecture" ng:required>Usmeno priopćenje</label>
438                 <label><input type="radio" name="registration.type" value="poster" ng:required>Prezentacija postera</label>
439         </div>
440                 <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student - samo registracija</label>
441                 <label><input type="radio" name="registration.type" value="accomp" ng:required>Osoba u pratnji</label>
442 </div>
443
444 <div id="participant" ng:show="! registration.$id && ! symposium.$id">
445
446         
447         <h2>Podaci za kontakt</h2>
448         <div class="labelTop">
449                 <div class="input input4">Ime</div>
450                 <div class="input input4">Prezime</div>
451         </div>
452         <div style="clear: both">
453                 <input class="input4" name="registration.person.name" ng:required>
454                 <input class="input4" name="registration.person.surname" ng:required>
455         </div>
456         <div class="labelTop">
457                 <div class="input input5">Ustanova</div>
458         </div>  
459         <div style="clear: both">
460                 <input class="input5" name="registration.person.inst">
461         </div>
462         <div class="labelTop">
463                 <div class="input input5">Adresa</div>
464         </div>  
465         <div style="clear: both">
466                 <input class="input5" name="registration.person.address1" ng:required>
467         </div>
468         <div class="labelTop">
469                 <div class="input input6">Grad</div>
470                 <div class="input input6">Poštanski br.</div>
471                 <div class="input input6">Zemlja</div>
472         </div>
473         <div style="clear: both">
474                 <input class="input6" name="registration.person.city" ng:required>
475                 <input class="input6" name="registration.person.zip">
476                 <input class="input6" name="registration.person.country">
477         </div>
478         <div class="labelTop">
479                 <div class="input input4">E-pošta</div>
480                 <div class="input input4">Tel. broj</div>
481         </div>
482         <div style="clear: both">
483                 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
484                 <input class="input4" name="registration.person.phone">
485         </div>
486         <div ng:show="registration.type == 'lecture' || registration.type == 'poster' || registration.type == 'sparticipant' || registration.type == 'symposium' || registration.type == 'round'">
487                 <br><input type="checkbox" name="registration.student">Označite ako ste student.
488         </div>
489         <div style="clear: both; margin-top: 20px;">
490                 Hoćete li biti na domjenku dobrodošlice u četvrtak u 20 sati?<br/>
491                 <input type="radio" name="registration.reception" value="yes">Da
492                 <input type="radio" name="registration.reception" value="no">Ne
493         </div>
494         <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
495                 Hoćete li biti na zajedničkoj večeri u petak u 20 sati? (Večera je uključena u kotizaciju.)<br/>
496                 <input type="radio" name="registration.dinner" value="yes">Da
497                 <input type="radio" name="registration.dinner" value="no">Ne
498         </div>
499         
500 </div>
501
502
503         
504         <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
505                 <h2>Tema simpozija/okruglog stola</h2>
506                 <input class="input1" name="registration.sympattend" ng:required>
507         </div>
508
509
510 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
511 <div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
512
513         <h2>Simpozij</h2>
514         <label for="registration.symposium.title">Tema:</label>
515                 <input class="input1" name="registration.symposium.title" ng:required>
516         <label>Organizator(i):</label>
517                 <!--
518                 <div class="input input2">First name</div><div class="input input2">Surname</div><div class="input input3">Institution</div><div class="input input2">E-mail</div>
519                 -->
520                 <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
521                 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
522                 <input class="input2" name="organizer.name" ng:required>
523                 <input class="input2" name="organizer.surname" ng:required>
524                 <input class="input3" name="organizer.inst" >
525                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
526                 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
527                 </div>
528                 <div class="clear"><a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Dodaj drugog organizatora</a></div>
529         <label>Sažetak (maksimalno 2000 znakova)</label>
530                 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
531                 
532                 <div ng:show="symposium">
533                         <b>Simpozij:</b> {{registration.symposium.title}}
534                         <blockquote>
535                         <label>Prijavljeni radovi za ovaj simpozij:</label>
536                         <ol>
537                         <li ng:repeat="w in symposium.works">
538                         <!--
539                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
540                         -->
541                         <span ng:show="registration.$id != w.$id">{{w.title}}</span>
542                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
543                         </li>
544                         </ol>
545                         </blockquote>
546                 </div>
547 </div>
548
549 <div ng:show="registration.type && ! last_saved.$id">
550
551 <!--
552                 <div ng:show="symposium">
553                         <b>Symposium:</b> {{registration.symposium.title}}
554                         <blockquote>
555                         <label>Submitted papers for this symposium:</label>
556                         <ol>
557                         <li ng:repeat="w in symposium.works">
558                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
559                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
560                         </li>
561                         </ol>
562                         </blockquote>
563                 </div>
564 -->
565 <h3 ng:show="registration.type == 'symposium'">Prijava rada unutar simpizija ({{registration.symposium.work_nr}})</h3>
566 <h2 ng:show="registration.type == 'lecture'">Prijava usmenog priopćenja</h2>
567 <h2 ng:show="registration.type == 'poster'">Prijava postera</h2>
568 <h2 ng:show="registration.type == 'round'">Prijava teme okruglog stola</h2>
569
570
571 <label>Naslov:</label>
572         <input class="input1" name="registration.work.title" ng:required>
573 <div ng:show="registration.type != 'round'">
574 <label>Autori:</label>
575         <div>
576                 <div class="input input2">Ime</div><div class="input input2">Prezime</div><div class="input input3">Ustanova</div><div class="input input2">E-pošta</div>
577         </div>
578         <div class="clear" ng:repeat="author in registration.work.authors">
579                 <input class="input2" name="author.name" ng:required>
580                 <input class="input2" name="author.surname" ng:required>
581                 <input class="input3" name="author.inst" >
582                 <input class="input2" name="author.email" ng:required ng:validate="email">
583                 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
584         </div>
585         <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Dodaj još jednog autora</a>
586 </div>
587 <div ng:show="registration.type == 'round'">
588 <label>Organizator:</label>
589         <!--
590         <div class="input input2">First name</div><div class="input input2">Surname</div><div class="input input3">Institution</div><div class="input input2">E-mail</div>
591         -->
592                 <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
593         <div class="clear" ng:repeat="organizer in registration.work.organizers">
594                 <input class="input2" name="organizer.name" ng:required>
595                 <input class="input2" name="organizer.surname" ng:required>
596                 <input class="input3" name="organizer.inst" >
597                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
598                 <a href="" ng:click="registration.work.organizers.$remove(organizer)">X</a>
599         </div>
600         <div class="clear"><a class="addPerson" href="" ng:click="registration.work.organizers.$add()">Add another organizer</a></div>
601 </div>
602
603 <label>Sažetak (maksimalno 2000 znakova):</label>
604         <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
605
606
607 </div> <!-- ng:show="registration.type" -->
608 </div>
609
610 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0 && (symposium.$id || (registration.reception != null && registration.dinner != null))">
611 <input type="submit" value="Snimi" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0" >
612 </div>
613
614 <div ng:show="$invalidWidgets.visible() &gt; 0 || (! symposium.$id && (registration.dinner == null || registration.reception == null))" style="color:red; margin-top: 20px">Molimo ispunite sva tražena polja.
615 <span ng:show="$invalidWidgets.visible() &gt; 0">Obratite pažnju na polja s narančastim okvirom. <!-- - {{$invalidWidgets.visible()}} left. --></span>
616 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type != 'student'">
617 Odlučite o dolasku na domjenak i večeru.</span>
618 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type == 'student'">
619 Odlučite o dolasku na domjenak.</span>
620 </div>
621
622
623 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
624
625         <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant' || registration.type == 'student' || registration.type == 'accomp' && ! symposium">
626                 <span class="saved2">Hvala! Vaša registracija je uspješno predana!</span>
627                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije</a></div>
628                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
629                         Dokaz o studentskom statusu treba poslati na adresu<a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
630                 </div>
631                 <br><br>
632         </div>
633         <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && registration.symposium.work_nr == 4 && last_saved.$id">
634                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
635                 <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></span>
636                 
637         </div>
638         <div class="button button2" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && last_saved.$id && ! symposium">
639                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
640                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></div>
641                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
642                         Dokaz o studentskom statusu treba poslati na adresu<a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
643                 <br>
644         </div>
645         
646 </div>
647         <div class="button button2" ng:show="last_saved.$id && symposium && registration.symposium.work_nr < 4">
648                 <input type="reset" value="Dodavanje sljedećeg rada" ng:click="reset()"> 
649         </div>
650 <!--
651 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
652         <input type="reset" value="Submit another paper" ng:click="reset()">
653         <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
654 </div>
655 -->
656
657 <div class="footer"></div>
658
659 <!--
660 <div ng:show="registration.$id">
661 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
662 </div>
663 -->
664
665 <input type=checkbox name=debug style="float: right; clear: both">
666 <pre ng:show="debug">
667
668 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
669
670 registration = {{registration}}
671
672 last_saved = {{last_saved}}
673
674 master = {{master}}
675
676 symposium = {{symposium}}
677
678 $id={{$id}}
679 registration.$id={{registration.$id}}
680 </pre>