Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c84e9132
Commit
c84e9132
authored
Mar 15, 2021
by
wortschi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant check from template
parent
4a0281dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/shared/empty_states/_issues.html.haml
app/views/shared/empty_states/_issues.html.haml
+1
-1
No files found.
app/views/shared/empty_states/_issues.html.haml
View file @
c84e9132
...
...
@@ -47,7 +47,7 @@
=
link_to
_
(
'New issue'
),
button_path
,
class:
'gl-button btn btn-confirm'
,
id:
'new_issue_link'
-
if
show_import_button
.js-csv-import-export-buttons
{
data:
{
show_import_button:
show_import_button
.
to_s
,
issuable_type:
issuable_type
,
import_csv_issues_path:
import_csv_namespace_project_issues_path
,
can_edit:
can_edit
.
to_s
,
project_import_jira_path:
project_import_jira_path
(
@project
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
container_class:
'gl-display-inline-flex gl-vertical-align-middle'
,
show_label:
'true'
}
}
.js-csv-import-export-buttons
{
data:
{
show_import_button:
'true'
,
issuable_type:
issuable_type
,
import_csv_issues_path:
import_csv_namespace_project_issues_path
,
can_edit:
can_edit
.
to_s
,
project_import_jira_path:
project_import_jira_path
(
@project
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
container_class:
'gl-display-inline-flex gl-vertical-align-middle'
,
show_label:
'true'
}
}
%hr
%p
.gl-text-center.gl-mb-0
%strong
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment