diff --git a/hobo/static/css/style.scss b/hobo/static/css/style.scss
index e03df41..7a839f5 100644
--- a/hobo/static/css/style.scss
+++ b/hobo/static/css/style.scss
@@ -260,3 +260,29 @@ ul#id_scopes li {
#id_meta_keywords {
width: 100%;
}
+
+a.button.button-paragraph {
+ box-sizing: border-box;
+ display: block;
+ max-width: 100%;
+ width: 40rem;
+ margin-bottom: 1rem;
+}
+
+a.button.button-paragraph p {
+ font-weight: normal;
+ color: #333;
+ margin: 0;
+ margin-bottom: 5px;
+ line-height: 150%;
+ &.warning {
+ &::before {
+ font-family: FontAwesome;
+ content: "\f071"; // exclamation-triangle
+ }
+ }
+}
+
+a.button.button-paragraph:hover p {
+ color: white;
+}
diff --git a/hobo/templates/hobo/home.html b/hobo/templates/hobo/home.html
index 6734721..b4f0e82 100644
--- a/hobo/templates/hobo/home.html
+++ b/hobo/templates/hobo/home.html
@@ -6,49 +6,14 @@
{% endblock %}
{% block content %}
-{% if not has_global_title %}
-
-
-
- {% trans 'You have not yet defined a name for the platform; the generic title "Compte Citoyen" is used.' %}
-
- {% trans 'Set up a title' %}
-
-
-{% endif %}
-{% if not has_default_from_email %}
-
-{% endif %}
-
{% if services %}
{% for service in services %}
@@ -121,3 +86,37 @@ $(function() {
{% endblock %}
+
+{% block sidebar %}
+
+{% endblock %}
diff --git a/tests/test_home_views.py b/tests/test_home_views.py
index 86eeb66..587fd9a 100644
--- a/tests/test_home_views.py
+++ b/tests/test_home_views.py
@@ -101,14 +101,14 @@ def test_menu_view(app, admin_user):
def test_warning_notifications(app, admin_user):
app = login(app)
resp = app.get('/')
- assert len(resp.html.find_all('div', {'class': 'warningnotice'})) == 2
+ assert len(resp.html.find_all('p', {'class': 'warning'})) == 2
- assert resp.html.find('div', {'class': 'warningnotice'}).a['href'] == '/theme/options'
+ assert resp.html.find('p', {'class': 'warning'}).parent['href'] == '/theme/'
Variable.objects.create(name='global_title', value='Publik')
resp = app.get('/')
- assert len(resp.html.find_all('div', {'class': 'warningnotice'})) == 1
+ assert len(resp.html.find_all('p', {'class': 'warning'})) == 1
- assert resp.html.find('div', {'class': 'warningnotice'}).a['href'] == '/emails/'
+ assert resp.html.find('p', {'class': 'warning'}).parent['href'] == '/emails/'
Variable.objects.create(name='default_from_email', value='publik@example.com')
resp = app.get('/')
- assert not resp.html.find_all('div', {'class': 'warningnotice'})
+ assert not resp.html.find_all('p', {'class': 'warning'})