Skip to content

Commit

Permalink
remove location condition from ip source
Browse files Browse the repository at this point in the history
  • Loading branch information
vittoriaThinkst committed Jul 25, 2024
1 parent 9edb004 commit 757cc8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
11 changes: 1 addition & 10 deletions templates/emails/notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,16 +391,7 @@
<p
style="font-weight:400;color:#060606;margin:0 0 16px 0;">
{{BasicDetails['src_ip']}}
</p> {% if
BasicDetails['location']
%} <p
style="font-weight:600;display:block;line-height:1;margin:0;">
Location</p>
<p
style="font-weight:400;color:#060606;margin:0;">
{{BasicDetails.get('location',
None)}}</p> {% endif
%}
</p>
</td>
</tr>
</table>
Expand Down
4 changes: 0 additions & 4 deletions templates/emails/notification.mjml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@
<td>
<p style="font-weight:600;display:block;line-height:1;margin:0;">Source IP</p>
<p style="font-weight:400;color:#060606;margin:0 0 16px 0;">{{BasicDetails['src_ip']}}</p>
{% if BasicDetails['location'] %}
<p style="font-weight:600;display:block;line-height:1;margin:0;">Location</p>
<p style="font-weight:400;color:#060606;margin:0;">{{BasicDetails.get('location', None)}}</p>
{% endif %}
</td>
</tr>

Expand Down

0 comments on commit 757cc8d

Please sign in to comment.