Don't show project fork event as imported

This commit is contained in:
Douwe Maan 2015-12-02 10:56:05 +01:00
parent 09e712c0fb
commit a8e463c8ac
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ v 8.3.0 (unreleased)
- Trim leading and trailing whitespace of milestone and issueable titles (Jose Corcuera)
- Add ignore whitespace change option to commit view
- Fire update hook from GitLab
- Don't show project fork event as "imported"
v 8.2.2
- Fix 404 in redirection after removing a project (Stan Hu)

View File

@ -201,7 +201,7 @@ class Event < ActiveRecord::Base
elsif commented?
"commented on"
elsif created_project?
if project.import?
if project.external_import?
"imported"
else
"created"