Skip to content

Commit

Permalink
Merge pull request #28 from TAMULib/tamu_disable_primary_document_bugs
Browse files Browse the repository at this point in the history
Modified Student and Advisor view to only display Primary Attachment inf...
  • Loading branch information
jeremythuff committed Dec 5, 2014
2 parents 9302c65 + 4007627 commit 45965f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/Advisor/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h3 class="span11">Review Application</h3>
#{include 'viewSubmission.include' /}

<legend>Uploaded Files</legend>
#{ifEnabled PRIMARY_ATTACHMENT}
<div class="control-group #{if errors.forKey('primaryDocument')}error#{/if}">
<label class="control-label">#{fieldLabel PRIMARY_ATTACHMENT /}:</label>
<div class="controls">
Expand All @@ -33,6 +34,8 @@ <h3 class="span11">Review Application</h3>
#{/else}
</div>
</div>
#{/ifEnabled}
#{ifEnabled [SUPPLEMENTAL_ATTACHMENT,SOURCE_ATTACHMENT,ADMINISTRATIVE_ATTACHMENT]}
<div class="control-group #{if errors.forKey('additionalDocument')}error#{/if}">
<label class="control-label">Additional Documents:</label>
<div class="controls">
Expand All @@ -47,6 +50,7 @@ <h3 class="span11">Review Application</h3>
#{/else}
</div>
</div>
#{/ifEnabled}
#{if feedbackDocuments != null && feedbackDocuments.size() > 0}
<div class="control-group #{if errors.forKey('feedbackDocument')}error#{/if}">
<label class="control-label"><b>Feedback Document${ feedbackDocuments.pluralize() }:</b></label>
Expand Down
2 changes: 2 additions & 0 deletions app/views/Student/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ <h3 class="span11">View Application</h3>
</ul>
</br>
#{/ifErrors}
#{ifEnabled PRIMARY_ATTACHMENT}
<div class="control-group #{if errors.forKey('primaryDocument')}error#{/if}">
<label class="control-label">#{fieldLabel PRIMARY_ATTACHMENT /}:</label>
<div class="controls">
Expand Down Expand Up @@ -91,6 +92,7 @@ <h3 class="span11">View Application</h3>
#{/else}
</div>
</div>
#{/ifEnabled}
#{ifEnabled [SUPPLEMENTAL_ATTACHMENT,SOURCE_ATTACHMENT,ADMINISTRATIVE_ATTACHMENT]}
<div class="control-group #{if errors.forKey('additionalDocument')}error#{/if}">
<label class="control-label">Additional Documents:</label>
Expand Down

0 comments on commit 45965f1

Please sign in to comment.