forked from RainerW/Sonferenz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
467 additions
and
175 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
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
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
28 changes: 28 additions & 0 deletions
28
...enz-web/src/main/java/de/bitnoise/sonferenz/web/component/state/OnStateCallForPapers.java
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,28 @@ | ||
package de.bitnoise.sonferenz.web.component.state; | ||
|
||
import org.apache.wicket.injection.web.InjectorHolder; | ||
import org.apache.wicket.spring.injection.annot.SpringBean; | ||
|
||
import de.bitnoise.sonferenz.facade.UiFacade; | ||
import de.bitnoise.sonferenz.model.ConferenceModel; | ||
import de.bitnoise.sonferenz.model.ConferenceState; | ||
import de.bitnoise.sonferenz.web.component.navigation.VisibleChoice; | ||
|
||
public class OnStateCallForPapers implements VisibleChoice | ||
{ | ||
|
||
@SpringBean | ||
transient UiFacade facade; | ||
|
||
public boolean canBeDisplayed() | ||
{ | ||
InjectorHolder.getInjector().inject(this); | ||
ConferenceModel active = facade.getActiveConference(); | ||
if (active == null) | ||
{ | ||
return false; | ||
} | ||
return ConferenceState.CALL4PAPERS.equals(active.getState()); | ||
} | ||
|
||
} |
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
17 changes: 14 additions & 3 deletions
17
sonferenz-web/src/main/java/de/bitnoise/sonferenz/web/pages/voting/ListVotesPanel2.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 |
---|---|---|
@@ -1,11 +1,22 @@ | ||
<wicket:panel> | ||
<span class="header voting"> | ||
<p> | ||
Bringe die Vorträge via drag'n'drop in die Reihenfolge die du bevorzugen würdest.<br/> | ||
Am besten bringst du am besten die obersten 10 Vorträge in Reihe. ( 6 besuchbare Vorträge plus 4 Ersatz Vorträge ) | ||
</p> | ||
</span> | ||
<div wicket:id="voting" class="votinglist"> | ||
<div wicket:id="items" class="item"> | ||
<span class="initiate"> x </span> <span wicket:id="name">[name]</span> | ||
<div class="header"> | ||
<span class="head"> </span> | ||
<span class="head">Meine Vortragsliste :</span> | ||
</div> | ||
<div wicket:id="items" class="item draglist"> | ||
<span class="initiate"> </span> <span wicket:id="title">[title]</span> | ||
</div> | ||
</div> | ||
<br class="spacer" /> | ||
<div class="buttons"> | ||
<a href="#" wicket:id="save" class="button">save</a> | ||
<a href="#" wicket:id="save" class="button">save</a> | ||
</div> | ||
</wicket:panel> | ||
|
Oops, something went wrong.