Skip to content

Commit

Permalink
Merge pull request #453 from phuonghuynh/master
Browse files Browse the repository at this point in the history
Update changes
  • Loading branch information
phuonghuynh committed Nov 6, 2015
2 parents d6f3219 + 0c8a0c5 commit 6605988
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/main/java/com/techlooper/util/DataUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public static Set<ChallengeCriteria> defaultChallengeCriterias(Language lang) {
Set<ChallengeCriteria> defaultCriterias = new HashSet<>();
if (lang == Language.en) {
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
.withName("default.uiuxIpml").withWeight(20L).build());
.withName("UI/UX implemented solution").withWeight(20L).build());
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
.withName("default.creativeSolution").withWeight(20L).build());
.withName("Creativity on the proposed solution").withWeight(20L).build());
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
.withName("default.srcQuality").withWeight(20L).build());
.withName("Source code quality").withWeight(20L).build());
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
.withName("default.topEdgeTech").withWeight(20L).build());
.withName("Usage of top edge technology").withWeight(20L).build());
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
.withName("default.appFunction").withWeight(20L).build());
.withName("Application functionality").withWeight(20L).build());
}
else {
defaultCriterias.add(ChallengeCriteria.ChallengeCriteriaBuilder.challengeCriteria()
Expand Down
6 changes: 3 additions & 3 deletions src/main/webapp/assets/modules/common/feedback/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
<label class="col-sm-2 control-label" translate="template"></label>

<div class="col-sm-10">
<select ng-model="composeEmail.templateId"
<selectize ng-model="composeEmail.templateId"
config="{maxItems: 1, placeholder: ('exChooseATemplate' | translate)}"
ng-change="loadEmailTemplate()" options="emailTemplates" selectize>
</select>
ng-change="loadEmailTemplate()" options="emailTemplates">
</selectize>
</div>
</div>
<div class="form-group">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ techlooper.filter("challengeDetail", function (apiService, $rootScope, jsonValue

challengeDetail.addCriteria = function () {
challengeDetail.criteria = challengeDetail.criteria || [];
challengeDetail.criteria.push({index: challengeDetail.criteria.length++});
challengeDetail.criteria.push({index: challengeDetail.criteria.length + 1});
}

challengeDetail.removeCriteria = function (cri) {
Expand Down

0 comments on commit 6605988

Please sign in to comment.