@@ 1,6 1,12 @@
<section>
<h1>Timelog</h1>
<h2>Milestones</h2>
+ <%= if Enum.empty?(@milestones) do %>
+ <div class="warning">
+ <strong>Your group has no Milestones</strong>
+ <p>Create some milestones to represent your sprints by going to your <a href="https://gitlab.com/groups/<%= @group_path %>/-/milestones">group milestone page</a>. Milestone "start dates" and "due dates" should match the start and end dates of your sprint and milestones must not have overlapping dates.</p>
+ </div>
+ <% end %>
<ul>
<%= for milestone <- @milestones do %>
<li>