fix show "new milestone" button

Currently a the "new milestone" button at the bottom of the milestone index page is only shown if `c.show_past_milestones` is `True`. I guess this was due to wrong placing of `%endif` but to be sure I created this pull request.