Only render signout screen when user is signed out
This commit is contained in:
parent
c90415085d
commit
e4b72248c2
|
@ -8,16 +8,17 @@
|
|||
= image_tag 'illustrations/issues.svg'
|
||||
.col-xs-12
|
||||
.text-content
|
||||
- if has_button && current_user
|
||||
- if current_user
|
||||
%h4
|
||||
= _("The Issue Tracker is the place to add things that need to be improved or solved in a project")
|
||||
%p
|
||||
= _("Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable.")
|
||||
.text-center
|
||||
- if project_select_button
|
||||
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue', type: :issues
|
||||
- else
|
||||
= link_to 'New issue', button_path, class: 'btn btn-success', title: 'New issue', id: 'new_issue_link'
|
||||
- if has_button
|
||||
.text-center
|
||||
- if project_select_button
|
||||
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue', type: :issues
|
||||
- else
|
||||
= link_to 'New issue', button_path, class: 'btn btn-success', title: 'New issue', id: 'new_issue_link'
|
||||
- else
|
||||
%h4.text-center= _("There are no issues to show")
|
||||
%p
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue