Skip to content

Commit

Permalink
Merge pull request #7 from meirtolpin11/feature/refactor
Browse files Browse the repository at this point in the history
fix template
  • Loading branch information
meirtolpin11 authored Nov 10, 2023
2 parents 94113a3 + 49f8da5 commit 64560e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telegram/jinja/flight.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
{{ "\t\N{airplane}" }} <a href='{{ link_to }}'>{{ airlines[0] }}</a>,
{% else -%}
{{ "\t\N{airplane}" }} {{ airlines[0]}},
{% endif -%}
{% if link_from -%}
{%- endif -%}
{%- if link_from -%}
<a href='{{ link_from }}'>{{ airlines[1] }}</a> {{ "\N{airplane}" }}
{% else -%}
{%- else -%}
{{ airlines[1]}}, {{ "\N{airplane}" }}
{% endif -%}
{% endif -%}
Expand Down

0 comments on commit 64560e6

Please sign in to comment.