Skip to content

Commit

Permalink
adjust notifications content
Browse files Browse the repository at this point in the history
  • Loading branch information
vhcsilva committed Aug 21, 2024
1 parent 7bd7e03 commit 354b01c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Deliverable <a href="{{deliverable.link}}">#{{deliverable.id}}</a> created for task #{{task.id}}
</span>
{{#if task.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{task.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Deliverable <a href="{{deliverable.link}}">#{{deliverable.id}}</a> marked as ready for review
</span>
{{#if deliverable.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white- capitalize-first">
{{deliverable.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Proposal <a href="{{proposal.link}}">#{{proposal.id}}</a> was disputed with {{proposal.disputes}} votes
</span>
{{#if deliverable.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{deliverable.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Proposal <a href="{{proposal.link}}">#{{proposal.id}}</a> created for deliverable #{{deliverable.id}}
</span>
{{#if deliverable.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{deliverable.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Task <a href="{{task.link}}">#{{task.id}}</a> closed
</span>
{{#if task.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{task.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Task <a href="{{task.link}}">#{{task.id}}</a> created
</span>
{{#if task.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{task.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Funding <a href="{{task.link}}">#{{task.id}}</a> created
</span>
{{#if task.title}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{task.title}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{task.network}}</span>
<span class="sm-regular capitalize-first">{{task.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/integrations/notifications/templates/notif-template.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{{> avatar}}
<div id="link">{{notification.link}}</div>
<div class="d-flex flex-column ms-3">
<span class="xs-medium notification-title text-white mb-3">
<span class="xs-medium notification-title text-white mb-3 capitalize-first">
{{notification.title}}
</span>
{{#if notification.subTitle}}
<span class="sm-regular mb-3 text-white-50">
<span class="sm-regular mb-3 text-white-50 capitalize-first">
{{notification.subTitle}}
</span>
{{/if}}
<div class="d-flex gap-2 text-white-50">
<span class="sm-regular">{{notification.network}}</span>
<span class="sm-regular capitalize-first">{{notification.network}}</span>
<span>•</span>
<span class="sm-regular">%DATE%</span>
</div>
Expand Down

0 comments on commit 354b01c

Please sign in to comment.