Dont show gitlab.com import for gitlab.com :)
This commit is contained in:
parent
417975ae2f
commit
ff492307b9
2 changed files with 12 additions and 3 deletions
|
@ -52,7 +52,7 @@
|
|||
%i.fa.fa-github
|
||||
Import projects from GitHub
|
||||
= render 'github_import_modal'
|
||||
|
||||
|
||||
.project-import.form-group
|
||||
.col-sm-2
|
||||
.col-sm-10
|
||||
|
@ -60,7 +60,7 @@
|
|||
= link_to status_import_gitlab_path do
|
||||
%i.fa.fa-heart
|
||||
Import projects from GitLab.com
|
||||
- else
|
||||
- elsif request.host != 'gitlab.com'
|
||||
= link_to '#', class: 'how_to_import_link light' do
|
||||
%i.fa.fa-heart
|
||||
Import projects from GitLab.com
|
||||
|
@ -99,4 +99,4 @@
|
|||
e.preventDefault()
|
||||
import_modal = $(this).parent().find(".modal").show()
|
||||
$('.modal-header .close').bind 'click', ->
|
||||
$(".modal").hide()
|
||||
$(".modal").hide()
|
||||
|
|
9
safe/public.pem
Normal file
9
safe/public.pem
Normal file
|
@ -0,0 +1,9 @@
|
|||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnp2mUaLBoHFX127ysonX
|
||||
OihiGpI4098eFfH1iAxpKHIof0vs0jFF05IUScNXJZ1U3w8G1U/unY/wGGa3NzAb
|
||||
ZfDd22eOF6X2Gfiey6U4w9dFf0/UT5x1bphlpX357yh4O9oWWuNaWD062DTbOOsJ
|
||||
U6UW2U/sZAu/QScys0Nw+gJ58t93hb4jFq+nO5IAQc6g4S8ek5YvIXOshFEpF2in
|
||||
ZLbSYowx92+9GzfjvdQ7fk0Q2ssg0zfScVa6FY8n019osz0SC3wcSd/qicdfecpu
|
||||
7oycpd9YDqk4lufE1qVMOsgE8OO4KXMrByz2f+T0p/bH9zdBa5HYylf1T7i60hIL
|
||||
kQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
Loading…
Reference in a new issue