mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-20 17:20:00 +01:00
fix indentation
This commit is contained in:
parent
e0871a661b
commit
3316ccb7bc
1 changed files with 8 additions and 15 deletions
|
@ -6,12 +6,6 @@
|
||||||
.panel-body
|
.panel-body
|
||||||
- if @services.count > 0
|
- if @services.count > 0
|
||||||
Sharing is enabled for the following services:
|
Sharing is enabled for the following services:
|
||||||
%ul.list-group
|
|
||||||
- @services.each do |service|
|
|
||||||
%li.list-group-item
|
|
||||||
%strong= service.provider.capitalize
|
|
||||||
(#{service.nickname})
|
|
||||||
= link_to 'Disconnect', service_path(service), data: { confirm: "Really disconnect service #{service.provider.capitalize}?" }, method: :delete
|
|
||||||
- else
|
- else
|
||||||
You have not connected any services yet.
|
You have not connected any services yet.
|
||||||
|
|
||||||
|
@ -19,7 +13,6 @@
|
||||||
- if service_options['enabled'] and !@services.any? { |x| x.provider == service.to_s }
|
- if service_options['enabled'] and !@services.any? { |x| x.provider == service.to_s }
|
||||||
%p=link_to "Connect to #{service.capitalize}", "/auth/#{service}"
|
%p=link_to "Connect to #{service.capitalize}", "/auth/#{service}"
|
||||||
|
|
||||||
/ Show the list-group here, because it perfectly aligns outside a panel-body
|
|
||||||
- if @services.count > 0
|
- if @services.count > 0
|
||||||
%ul.list-group
|
%ul.list-group
|
||||||
- @services.each do |service|
|
- @services.each do |service|
|
||||||
|
|
Loading…
Reference in a new issue