Commit 11c73b3a authored by Marcel van Remmerden's avatar Marcel van Remmerden

Hide pull mirror update time from guest visitors

Changelog: changed
parent 3deb11c1
- if @project.mirror?
- if @project.mirror? && can?(current_user, :admin_project, @project)
%p
- if can?(current_user, :admin_project, @project)
- import_url = @project.safe_import_url
Mirrored from #{link_to import_url, import_url}.
%br
- import_url = @project.safe_import_url
Mirrored from #{link_to import_url, import_url}.
%br
= render "shared/mirror_status"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment