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 Add username to activity atom feed (!10802) 2017-04-26 23:21:30 +02:00
_event.html.haml Differentiate between event types 2017-04-03 08:34:36 -05:00
_event_issue.atom.haml HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
_event_merge_request.atom.haml HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
_event_note.atom.haml HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
_event_push.atom.haml Fix display of push events for removed refs 2017-08-22 20:15:45 +02:00
_event_scope.html.haml Hide namespace and project name on project activity page (!5068) 2016-07-14 19:04:59 +02:00
_events.html.haml