diff --git a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/item_data.html b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/item_data.html index 0dda4484f..ce8436311 100644 --- a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/item_data.html +++ b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/item_data.html @@ -10,9 +10,10 @@ {% if article.postDateTime %}
  • {% trans "Published" %}  - + + {% if article.updates %} + Update + {% endif %}
  • {% endif %} {% endspaceless %} diff --git a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item.html b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item.html index 4d88c023f..17919836f 100644 --- a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item.html +++ b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item.html @@ -9,9 +9,6 @@ {{ article.title }} - {% if article.updates %} - Update - {% endif %} {% if article.subtitle %} <{{ subtitle_tag|default:"h4" }} class="c-news__subtitle"> diff --git a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item_for_plugin.html b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item_for_plugin.html index c34e9094f..61e8d9547 100644 --- a/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item_for_plugin.html +++ b/apps/tup-cms/src/apps/user_news/templates/user_news/includes/list_item_for_plugin.html @@ -1,15 +1,16 @@ {% if article %}
    -
    {% else %} diff --git a/apps/tup-cms/src/apps/user_news/utils.py b/apps/tup-cms/src/apps/user_news/utils.py index 28cb70173..ea3918c8b 100644 --- a/apps/tup-cms/src/apps/user_news/utils.py +++ b/apps/tup-cms/src/apps/user_news/utils.py @@ -66,7 +66,7 @@ def create_proxy_article(article): context_article = { 'id': article['ID'], - 'title': article['WebTitle'], + 'title': article['WebTitle'].strip(), 'content': article['Content'], 'subtitle': article['Subtitle'], 'author': article['Author'], diff --git a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-feed-list.css b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-feed-list.css index f532b537e..7f4b02322 100644 --- a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-feed-list.css +++ b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-feed-list.css @@ -40,7 +40,8 @@ } /* To style "Update" pill in title */ -.c-feed-list > :is(h1, h2, h3, h4, h5, h6) .c-pill { +.c-feed-list .c-pill { + margin-left: 0.5ch; vertical-align: middle; transform: translateY(-0.125em); } diff --git a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-news--list.css b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-news--list.css index 59232d041..f0f9c16fe 100644 --- a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-news--list.css +++ b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-news--list.css @@ -143,7 +143,8 @@ } /* To style "Update" pill in title */ -.c-news__title .c-pill { +.c-news .c-pill { + margin-left: 0.5ch; vertical-align: middle; transform: translateY(-0.125em); }