-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/add-instagram-to-social-media
- Loading branch information
Showing
22 changed files
with
149 additions
and
174 deletions.
There are no files selected for viewing
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
File renamed without changes.
16 changes: 0 additions & 16 deletions
16
apps/tup-cms/src/apps/user_news/templates/user_news/includes/list.html
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
30 changes: 14 additions & 16 deletions
30
apps/tup-cms/src/apps/user_news/templates/user_news/list.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,18 +1,16 @@ | ||
{% extends "fullwidth.html" %} | ||
{# @var title_tag, subtitle_tag, is_for_short_list #} | ||
{% load i18n %} | ||
|
||
{% block content %} | ||
{% include 'djangocms_blog/tacc/layout-choice-form.html' with list_selector=".c-news--list" %} | ||
<div class="container"> | ||
{% include "nav_cms_breadcrumbs.html" %} | ||
<section class="c-news c-news--list"> | ||
<h1 class="c-news__name">{% trans "User Updates" %}</h1> | ||
{% include './includes/content_styles.html' %} | ||
|
||
{% with title_tag="h3" subtitle_tag="h4" %} | ||
{% include './includes/list.html' %} | ||
{% endwith %} | ||
|
||
</section> | ||
</div> | ||
{% endblock content %} | ||
{% if articles %} | ||
{% for article in articles %} | ||
{% if is_for_short_list %} | ||
{% include "./includes/list_item__short.html" %} | ||
{% else %} | ||
{% include "./includes/list_item__full.html" %} | ||
{% endif %} | ||
{% endfor %} | ||
{% else %} | ||
<article> | ||
<p>{% trans "No recent updates found." %}</p> | ||
</article> | ||
{% endif %} |
10 changes: 10 additions & 0 deletions
10
apps/tup-cms/src/apps/user_news/templates/user_news/list__full.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% load i18n %} | ||
|
||
|
||
<section class="c-news c-news--list"> | ||
{% include './includes/styles.html' %} | ||
|
||
{% with title_tag="h3" subtitle_tag="h4" %} | ||
{% include './list.html' %} | ||
{% endwith %} | ||
</section> |
3 changes: 3 additions & 0 deletions
3
apps/tup-cms/src/apps/user_news/templates/user_news/list__short.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% with title_tag="h4" subtitle_tag="h5" is_for_short_list=True %} | ||
{% include './list.html' %} | ||
{% endwith %} |
3 changes: 0 additions & 3 deletions
3
apps/tup-cms/src/apps/user_news/templates/user_news/list_for_plugin.html
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.