gitlab-org--gitlab-foss/app/views/events
Yorick Peterse b4aaced71a
Fix display of push events for removed refs
This changes the style of push events that remove tags or branches so
they don't display the commit details. This prevents displaying commit
details such as:

    000000 . --broken encoding

Instead we now simply display the header such as:

    Administrator deleted branch example-branch

This is displayed in the same style as events for newly created
branches/tags.

This commit also ensures that if no commit message is present we simply
don't display anything, instead of "--broken encoding".

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36685
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36722
2017-08-22 20:15:45 +02:00
..
event Fix display of push events for removed refs 2017-08-22 20:15:45 +02:00
_commit.html.haml Migrate events into a new format 2017-08-10 17:45:44 +02:00
_event.atom.builder
_event.html.haml
_event_issue.atom.haml
_event_merge_request.atom.haml
_event_note.atom.haml
_event_push.atom.haml Fix display of push events for removed refs 2017-08-22 20:15:45 +02:00
_event_scope.html.haml
_events.html.haml