Skip to content

Commit

Permalink
refactor (user grade): grade changed from 'aluno' to 'student'
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorMatt committed Apr 27, 2021
1 parent 3890e21 commit 224b71c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h5 class="" id="modal-notice-txt"></h5>
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/author/drafts/feedback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h5 class="" id="modal-notice-txt"></h5>
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/author/drafts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h5 class="" id="modal-notice-txt"></h5>
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/author/partials/case-list-min.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down
4 changes: 2 additions & 2 deletions src/adonisjs/public/infra/conditional-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class LayoutController {
const inputPropertyValue = document.querySelector('#property_value')


if(userGrade === 'aluno'){
if(userGrade === 'student'){

dccSubmitProp.setAttribute('id','dcc-submit-feedback')
dccSubmitProp.setAttribute('bind','submit-case-property')
Expand Down Expand Up @@ -203,7 +203,7 @@ class LayoutController {
if(propValue){
LayoutController.case.message.property.feedback = propValue
}
if(userGrade === 'aluno'){
if(userGrade === 'student'){

//Verifies property 'feedback' to disable button and change layout
if(LayoutController.case.message.property.feedback){
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/player/home/category/cases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/player/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<select id="fUserType" name="fUserType" class="custom-select custom-select-sm">
<option selected value="">User type</option>
<option value="professor">Professor</option>
<option value="aluno">Aluno</option>
<option value="student">Student</option>
</select>
</div>
<div class="pr-3" style="width: 120px;">
Expand Down

0 comments on commit 224b71c

Please sign in to comment.