Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,21 @@
}


// =============================================================================
// SIDEBAR — Additional note
// =============================================================================

.returnDetails-note {
margin-top: spacing("double");
}

.returnDetails-noteText {
margin: 0;
color: stencilColor("color-textBase");
white-space: pre-line;
}


// =============================================================================
// SIDEBAR — Action (e.g. Cancel return)
// =============================================================================
Expand Down
9 changes: 9 additions & 0 deletions templates/pages/account/return-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ <h2 class="returnDetails-sectionHeading">{{lang 'account.returns.summary'}}</h2>
</div>
</dl>

{{!-- Additional note — only shown when the shopper left a note. --}}
{{#if return_detail.note}}
<div class="returnDetails-note">
<h2 class="returnDetails-sectionHeading">{{lang 'account.returns.additional_note'}}</h2>
<hr class="returnDetails-divider">
<p class="returnDetails-noteText">{{return_detail.note}}</p>
</div>
{{/if}}

{{!-- Action section (e.g. Cancel return) — only shown for open returns. --}}
{{#if return_detail.status '===' 'OPEN'}}
<div class="returnDetails-actions">
Expand Down
Loading