gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-www] branch master updated: Updating news entries for a


From: gnunet
Subject: [taler-anastasis-www] branch master updated: Updating news entries for anastasis.lu
Date: Wed, 07 Dec 2022 23:32:09 +0100

This is an automated email from the git hooks/post-receive script.

skuegel pushed a commit to branch master
in repository anastasis-www.

The following commit(s) were added to refs/heads/master by this push:
     new a5914ff  Updating news entries for anastasis.lu
a5914ff is described below

commit a5914ff7c4bea25fdfef5931cc21edfd3f1c7dfe
Author: Stefan Kügel <skuegel@web.de>
AuthorDate: Wed Dec 7 23:31:40 2022 +0100

    Updating news entries for anastasis.lu
    
    Signed-off-by: Stefan Kügel <skuegel@web.de>
---
 template/news/2020-06.html.j2 |   3 +-
 template/news/2020-12.html.j2 |   3 +-
 template/news/index.html.j2   | 106 ++++++++++++++++++------------------------
 3 files changed, 48 insertions(+), 64 deletions(-)

diff --git a/template/news/2020-06.html.j2 b/template/news/2020-06.html.j2
index e66a927..a50537d 100644
--- a/template/news/2020-06.html.j2
+++ b/template/news/2020-06.html.j2
@@ -2,7 +2,6 @@
 {% block body_content %}
 <h1>New Anastasis Website Launched</h1>
 <p>
-The new Anastasis Website just launched, visit us and check out
-what's new!
+The new Anastasis Website just launched, visit us and check out what's new!
 </p>
 {% endblock body_content %}
diff --git a/template/news/2020-12.html.j2 b/template/news/2020-12.html.j2
index b9b0c82..cacac61 100644
--- a/template/news/2020-12.html.j2
+++ b/template/news/2020-12.html.j2
@@ -2,8 +2,7 @@
 {% block body_content %}
 <h1>Anastasis was awarded the ISSS excellence award</h1>
 <p>
-The ISSS excellence award was won by Dominik Meister and Dennis Neufeld
-for their Bachelor thesis Anastasis.
+The ISSS excellence award was won by Dominik Meister and Dennis Neufeld for 
their Bachelor thesis Anastasis.
 </p>
 <p>
 The Information Security Society Switzerland short (ISSS), Switzerland's
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index da493ae..6d09321 100644
--- a/template/news/index.html.j2
+++ b/template/news/index.html.j2
@@ -1,77 +1,63 @@
 {% extends "common/base.j2" %}
 {% block body_content %}
 <title>{% trans %}Anastasis - News Index{% endtrans %}</title>
-<!-- <h1>
-{% trans %}
-News
-{% endtrans %}
-</h1>
-<div id="home-intro">
- {% trans %}
- News posts about changes related to Anastasis such as releases and events.
- {% endtrans %}
- <a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") 
}}</a>    
-</div>    
 
-<div id="news-split">
-
-{% for item in newsdata %}
-<div id="news-item">
- <h3>{{ item['title']|e }}</h3>
- {{ item['date'] }}
- <br>
- {{ get_abstract(item['page'], 500) }} <br/>
-  [<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ 
_("read more") }}</a>]
-</div>
-{% endfor %}
-</div>
--->
 <section class="banner_sec" id="top">
-         <div class="carousel-inner">
-           <div class="carousel-item active">
-             <!-- <img class="d-block w-100" src="{{ 
url_static('images/bannerabout.jpg') }}" alt="News Index"> -->
-             <div class="banner_Itm_Inn">
+<div class="carousel-inner">
+    <div class="carousel-item active">
+        <img class="d-block w-100" src="{{ url_static('images/banner.jpg') }}" 
alt="News Index">
+            <div class="banner_Itm_Inn">
                                <div class="container">
                                        <div class="banner_Itm_Txt">
-                                                       <h1>{% trans %}News 
Index{% endtrans %}</h1>
+                                               <h1>{% trans %}News Index{% 
endtrans %}</h1>
                                                        <p>{% trans %}News 
posts about changes related to Anastasis <br>such as releases and events.{% 
endtrans %}</p>
-                                                       <a href="{{ 
url_localized('rss.xml') }}">{{ _("Subscribe to our RSS feed") }}</a>
-                                                       <div 
class="absicon"><img src="{{ url_static('images/banicon6.png') }}" alt="">
-                                                       </div>
-                                       </div>
-                               </div>
-                       </div>
-           </div>
-         </div>
+                                                               <a href="{{ 
url_localized('rss.xml') }}">{{ _("Subscribe to our RSS feed") }}</a>
+                            <!-- <div class="absicon"><img src="{{ 
url_static('images/banicon6.png') }}" alt=""> -->
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
 </section>
-
+      
 <section class="boxesPanel propossec">
-       <div class="container">
-               <!-- <div class="heading">
-                       <h2>{% trans %}News Posts, <span>Press Releases and 
Events{% endtrans %}</span></h2>
-               </div> -->
-               <div class="innboxespanel">
-
-                               {% for item in newsdata %}
-<div id="news-item">
- <h3>{{ item['title']|e }}</h3>
- {{ item['date'] }}
-                                               <div class="media">             
        <div class="row">
-                               <div class="col-lg-5 col-md-6 col-sm-6">
-                               <div class="boxPanel">
-                               <div class="media-body">
-{{ get_abstract(item['page'], 500) }} <br><img class="mr-3" height=60 width=75 
src="{{ url_static('images/ardwn.png') }}" alt="download"><br>
-  [<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ 
_("read more") }}</a>]
-                                                   </div>
-                                                </div>
+<div class="container">
+    <div class="innboxespanel">
+        <div class="media">
+            {% for year, yitem in newsdata|groupby('date.year') %}
+                <p><b>{{ year }}</b></p>
+                <ul class="timeline"><br><br>
+                {% for item in yitem %}
+                <li>
+                    <section class="item-preview">
+                    <header><a href="{{ url_localized(item['page']) }}" 
title="{{ item['date']}} "><img src="{{ url_static('images/ardwn.png') }}" 
alt="Read more"><br>
+                    <h4>{{ item['title']|e }}</h4></a>
+                    <p class="item-date">
+                    {{ item['date'] }}
+                    </p>
+                    </header>
+                                       <div class="colon">
+                                               <div class="col-lg-18 col-md-16 
col-sm-18">
+                                                       <div class="boxPanel">
+                                                               <div 
class="media-body">
+                                    <p class="item-abstract">
+                                    {{ get_abstract(item['page'], 500) }} 
<br>[<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}} ">{{ 
_("read more") }}</a>]
+                                                                       </p>
+                                                               </div>
+                                                       </div>
+                                               </div>
                                        </div>
-{% endfor %}
-                    </div>
-                               </div>
-                       </div>
+                    </section>
+                </li>
+                {% endfor %}
+                </ul>
+                {% endfor %}
                </div>
        </div>
+</div>
 </section>
+
 {% endblock body_content %}
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]