Skip to content

Commit

Permalink
Merge pull request #3 from xwjdsh/feat/optimize-gpa-display
Browse files Browse the repository at this point in the history
Do not show the 'Overall GPA' if score is not provided
  • Loading branch information
reorx committed Oct 4, 2023
2 parents 5b412b6 + 32d4a3b commit 1f03fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
data/
node_modules/
2 changes: 1 addition & 1 deletion src/themes/reorx/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function dateRange(item, level) {
</div>
<%- dateRange(item, 2) %>
</div>
<div class="score row">Overall GPA: <%= item.score %></div>
<% if (item.score) { %><div class="score row">Overall GPA: <%= item.score %></div><% } %>
<% if (item.courses && item.courses.length > 0) { %>
<div class="courses row">
Courses: <%= item.courses.join('; ') %>
Expand Down

0 comments on commit 1f03fa8

Please sign in to comment.