removed artifacts for force accept

This commit is contained in:
fred-fri 2012-08-02 11:49:04 +09:00
parent 82a6d8d3ef
commit 7991a7e8c4
3 changed files with 16 additions and 18 deletions
src/main/java/se/su/dsv/scipro/admin/pages

@ -141,7 +141,7 @@ public class AutomaticMatchPanel extends Panel {
for (Match match : result1.matches) {
if(match.getPoints() >= points) {
match.setCreatedBy(SciProSession.get().getUser());
match.setStatus(Match.Status.CONFIRMED);
match = matchDao.save(match);

@ -38,18 +38,18 @@
<!--<td><input name="7" type="checkbox" wicket:id="remoteExport" />-->
<!--</td>-->
<!--</tr>-->
<tr>
<td><label for="7">Supervisors can accept and decline project ideas:</label>
</td>
<td><input name="7" type="checkbox" wicket:id="supervisorsCanAcceptDeclinePIs" />
</td>
</tr>
<tr>
<td><label for="7">Matching algorithm matches are force accepted:</label>
</td>
<td><input name="7" type="checkbox" wicket:id="matchAlgorithmMatchesAreForceAccepted" />
</td>
</tr>
<!--<tr>-->
<!--<td><label for="7">Supervisors can accept and decline project ideas:</label>-->
<!--</td>-->
<!--<td><input name="7" type="checkbox" wicket:id="supervisorsCanAcceptDeclinePIs" />-->
<!--</td>-->
<!--</tr>-->
<!--<tr>-->
<!--<td><label for="7">Matching algorithm matches are force accepted:</label>-->
<!--</td>-->
<!--<td><input name="7" type="checkbox" wicket:id="matchAlgorithmMatchesAreForceAccepted" />-->
<!--</td>-->
<!--</tr>-->
</table>

@ -38,16 +38,14 @@ public class AdminGeneralSettingsPage extends AbstractAdminSettingsPage {
TextField<String> smtpServer = new RequiredTextField<String>("smtpServer");
CheckBox remoteExport = new CheckBox("remoteExport");
CheckBox mailNotifications = new CheckBox("mailNotifications");
CheckBox supervisorsCanAcceptDeclinePIs = new CheckBox("supervisorsCanAcceptDeclinePIs");
CheckBox matchAlgorithmMatchesAreForceAccepted = new CheckBox("matchAlgorithmMatchesAreForceAccepted");
add(mailFromName);
add(systemFromMail);
add(smtpServer);
add(mailNotifications);
add(remoteExport);
add(supervisorsCanAcceptDeclinePIs);
add(matchAlgorithmMatchesAreForceAccepted);
// add(remoteExport);
}
@Override