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([
('paragraph', RichTextBlock()),
('section', CharBlock(classname="full title")),
('info', InfoBlock()),
('placer', ChoiceBlock(choices=[
('info', InfoBlock(icon='help')),
('media', ChoiceBlock(choices=[
('gallery', 'Image gallery'),
], icon='user'))
], icon='media'))
], null=True, blank=True)
body_fr = StreamField([
('paragraph', RichTextBlock()),
('section', CharBlock(classname="full title")),
('info', InfoBlock()),
('placer', ChoiceBlock(choices=[
('info', InfoBlock(icon='help')),
('media', ChoiceBlock(choices=[
('gallery', 'Image gallery'),
], icon='user'))
], icon='media'))
], null=True, blank=True)
trans_body = TranslatedField(
'body_de',

View File

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

View File

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