Открыть боковую панель
nt_test121
nt_project_9da4a5yt9x4b
Коммиты
618726ff
Коммит
618726ff
создал
Июл 18, 2016
по автору
tiagonbotelho
Просмотр файлов
fixes modal for showing shortcuts
владелец
017ae313
Изменения
2
Скрыть пробелы
Построчно
Рядом
app/assets/javascripts/shortcuts.js.coffee
Просмотр файла @
618726ff
...
...
@@ -22,17 +22,6 @@ class @Shortcuts
$modal
.
modal
(
'toggle'
)
return
$
.
ajax
(
url
:
gon
.
shortcuts_path
,
dataType
:
'script'
,
success
:
(
e
)
->
if
location
and
location
.
length
>
0
$
(
l
).
show
()
for
l
in
location
else
$
(
'.hidden-shortcut'
).
show
()
$
(
'.js-more-help-button'
).
remove
()
)
focusFilter
:
(
e
)
->
@
filterInput
?=
$
(
'input[type=search]'
,
'.nav-controls'
)
@
filterInput
.
focus
()
...
...
app/views/help/index.html.haml
Просмотр файла @
618726ff
...
...
@@ -39,3 +39,5 @@
%li
=
link_to
'Use shortcuts'
,
'#'
,
onclick:
'Shortcuts.toggleHelp()'
%li
=
link_to
'Get a support subscription'
,
'https://about.gitlab.com/pricing/'
%li
=
link_to
'Compare GitLab editions'
,
'https://about.gitlab.com/features/#compare'
=
render
"help/shortcuts"
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать