akester/storehouse

Fork Project

993230d1ee78b99574cac3de27659ecc9ff6f42f

Authored By: Andrew Kester Date: July 7, 2017 12:54 pm

Move news and updates on dashbaord to bottom on mobile.

We really need to just go through and clean up the mobile interface, but this really stuck out to me.

src/StorehouseBundle/Resources/views/Dashboard.html.twig
45 45
 
46 46
 {% block body %}
47 47
 	<div class="expanded row">
48
-		<div class="small-12 medium-4 large-2 columns medium-order-3 updates">
49
-			<h2>News &amp; Updates</h2>
50
-			{% for post in posts %}
51
-				<h3>{{ post.title }}</h3>
52
-				<p class="date">
53
-					{{ post.postDate|date('F j, Y') }}
54
-				</p>
55
-				<p>
56
-					{{ post.description }}
57
-				</p>
58
-				<a href="{{ path('blog/post', { urlTitle: post.urlTitle }) }}">Read More &raquo;</a>
59
-				{% if not loop.last %}
60
-					<hr />
61
-				{% endif %}
62
-			{% endfor %}
63
-		</div>
48 64
 		<div class="small-12 medium-8 columns medium-order-2">
49 65
 			{% include ('StorehouseBundle::_Partials/Flash.html.twig') %}
50 66
 			{{ render(controller("StorehouseBundle:_Partials/Notice:userAlert")) }}
84 68
 				{% endfor %}
85 69
 			</ul>
86 70
 		</div>
87
+		<div class="small-12 medium-4 large-2 columns medium-order-3 updates">
88
+			<h2>News &amp; Updates</h2>
89
+			{% for post in posts %}
90
+				<h3>{{ post.title }}</h3>
91
+				<p class="date">
92
+					{{ post.postDate|date('F j, Y') }}
93
+				</p>
94
+				<p>
95
+					{{ post.description }}
96
+				</p>
97
+				<a href="{{ path('blog/post', { urlTitle: post.urlTitle }) }}">Read More &raquo;</a>
98
+				{% if not loop.last %}
99
+					<hr />
100
+				{% endif %}
101
+			{% endfor %}
102
+		</div>
103 71
 	</div>
104 72
 {% endblock %}
105 73
 
106 74