Remove homepage icons, direct links, tweak model icons

This commit is contained in:
Oleg Lavrovsky 2017-09-15 09:51:59 +02:00
parent c9aa1c0708
commit 2a8fdf457b
3 changed files with 11 additions and 11 deletions

View file

@ -109,18 +109,18 @@ class ArticlePage(Page):
body_de = StreamField([ body_de = StreamField([
('paragraph', RichTextBlock()), ('paragraph', RichTextBlock()),
('section', CharBlock(classname="full title")), ('section', CharBlock(classname="full title")),
('info', InfoBlock()), ('info', InfoBlock(icon='help')),
('placer', ChoiceBlock(choices=[ ('media', ChoiceBlock(choices=[
('gallery', 'Image gallery'), ('gallery', 'Image gallery'),
], icon='user')) ], icon='media'))
], null=True, blank=True) ], null=True, blank=True)
body_fr = StreamField([ body_fr = StreamField([
('paragraph', RichTextBlock()), ('paragraph', RichTextBlock()),
('section', CharBlock(classname="full title")), ('section', CharBlock(classname="full title")),
('info', InfoBlock()), ('info', InfoBlock(icon='help')),
('placer', ChoiceBlock(choices=[ ('media', ChoiceBlock(choices=[
('gallery', 'Image gallery'), ('gallery', 'Image gallery'),
], icon='user')) ], icon='media'))
], null=True, blank=True) ], null=True, blank=True)
trans_body = TranslatedField( trans_body = TranslatedField(
'body_de', 'body_de',

View file

@ -31,8 +31,8 @@
{% for feedType in entryfeeds %} {% for feedType in entryfeeds %}
<div class="col-md-4 col-sm-6 col-xs-12 news-entry"> <div class="col-md-4 col-sm-6 col-xs-12 news-entry">
<h4 class="partner-news"><a href="/aktuelles/" title="{{ feedType.title }}"> <h4 class="partner-news"><a href="/{{ feedType.link }}">{{ feedType.name }}
<span class="glyphicon {{ feedType.icon }}" aria-hidden="true"></span> <!-- <span class="glyphicon {{ feedType.icon }}" aria-hidden="true"></span> -->
</a></h4> </a></h4>
<div class="panel panel-fulltext"> <div class="panel panel-fulltext">
<div class="panel-body"> <div class="panel-body">

View file

@ -24,9 +24,9 @@ NEWS_ENTRIES_HOME_PAGE = 2
BLOG_ENTRIES_HOME_PAGE = 3 BLOG_ENTRIES_HOME_PAGE = 3
STREAMS_ON_HOME_PAGE = [ STREAMS_ON_HOME_PAGE = [
{ 'name': 'News', 'title': 'News', 'icon': 'glyphicon-eye-open' }, { 'name': 'News', 'link': 'top-news', 'icon': 'glyphicon-eye-open' },
{ 'name': 'Events', 'title': 'Events', 'icon': 'glyphicon-time' }, { 'name': 'Events', 'link': 'top-events', 'icon': 'glyphicon-time' },
{ 'name': 'Jobs', 'title': 'Jobs', 'icon': 'glyphicon-briefcase' }, { 'name': 'Jobs', 'link': 'top-jobs', 'icon': 'glyphicon-briefcase' },
] ]
# Application definition # Application definition