-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from AlexanderBgit/lexxai
Messages icons telegram
- Loading branch information
Showing
8 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
27 changes: 20 additions & 7 deletions
27
FRONTEND/fastparking/communications/templates/communications/main.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
<!-- communications/templates/communications/main.html --> | ||
{% extends "parking/base.html" %} {% block content %} | ||
<h1>Messages</h1> | ||
<p>We check for relevant news and speed it up to send it to the news channel.</p> | ||
Our news channel: <a href="https://t.me/{{ news_channel }}">@{{ news_channel }}.</a> | ||
{% if sent_messages %} | ||
<p>Messages sent: {{ sent_messages }}.</p> | ||
{% endif%} {% endblock content %} | ||
{% extends "parking/base.html" %} {% block content %} {% load static %} | ||
<div class="container-fluid"> | ||
<h2>Messages</h2> | ||
|
||
<p>We check for relevant news and speed it up to send it to the news channel.</p> | ||
<table class="table"> | ||
<tr> | ||
<th class="text-center">Our news channel: <a href="https://t.me/{{ news_channel }}">@{{ news_channel }}.</a></td> | ||
<th class="text-center">Our Telegram bot: <a href="https://t.me/{{ t_bot }}">@{{ t_bot }}.</a></td> | ||
</tr> | ||
<tr> | ||
<td class="text-center"><img class="mt-2" src="{% static 'parking/qr_t_news.png' %}" width="80%" /></td> | ||
<td class="text-center"><img src="{% static 'parking/qr_t_bot.png' %}" width="80%" /></td> | ||
</tr> | ||
</table> | ||
|
||
{% if sent_messages %} | ||
<p>Messages sent: {{ sent_messages }}.</p> | ||
{% endif%} {% endblock content %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.