Browse Source

update from webadmin

exegetes.eu.org crontab 7 years ago
parent
commit
6a363cf3af
4 changed files with 7 additions and 5 deletions
  1. 1 1
      assets/static/css/main.css
  2. 1 1
      assets/static/css/main.scss
  3. 4 2
      databags/annonce.ini
  4. 1 1
      templates/home.html

+ 1 - 1
assets/static/css/main.css

@@ -6309,5 +6309,5 @@ padding-left: 30px;
 margin-right: 7px;
 }
 .pinned-news {
-margin-bottom: 1em;
+margin-bottom: 2em;
 }

+ 1 - 1
assets/static/css/main.scss

@@ -45,5 +45,5 @@ padding-left: 30px;
 margin-right: 7px;
 }
 .pinned-news {
-margin-bottom: 1em;
+margin-bottom: 2em;
 }

+ 4 - 2
databags/annonce.ini

@@ -1,10 +1,12 @@
 [fr]
 message = "Annonce :"
 link = "https://events.ccc.de/congress/2017/wiki/index.php/Assembly:Free_Software_Foundation_Europe#Day_3:_Friday_29"
-description = "Nous serons au 34C3 à Leipzig pour une présentation le 29/12 à 16h00. Cliquez ici pour plus d'infos."
+description = "Nous serons au 34C3 à Leipzig pour une présentation le 29/12 à 16h00."
+readmore = "Plus d'infos..."
 
 [en]
 message = "Announcement:"
 link = "https://events.ccc.de/congress/2017/wiki/index.php/Assembly:Free_Software_Foundation_Europe#Day_3:_Friday_29"
-description = "We will be at the 34C3 in Leipzig for a talk on 29/12 at 16:00. Click here for more info."
+description = "We will be at the 34C3 in Leipzig for a talk on 29/12 at 16:00."
+readmore = "Read more..."
 

+ 1 - 1
templates/home.html

@@ -16,7 +16,7 @@
 {% block body %}
 
 <div class="pinned-news">
-<strong>{{ bag('annonce', this.alt, 'message') }}</strong> <a href="{{ bag('annonce', this.alt, 'link') }}">{{ bag('annonce', this.alt, 'description') }}</a>
+<strong>{{ bag('annonce', this.alt, 'message') }}</strong> <a href="{{ bag('annonce', this.alt, 'link') }}">{{ bag('annonce', this.alt, 'description') }}</a> <strong><a href="{{ bag('annonce', this.alt, 'link') }}">{{ bag('annonce', this.alt, 'readmore') }}</a></strong>
 </div>
 
 <div id="index">