Disable Twitter for now

This commit is contained in:
Eduard Urbach 2019-03-04 20:14:39 +09:00
parent 6a19dfa324
commit dcfa18cf73

View File

@ -51,16 +51,16 @@ component SettingsAccounts(user *arn.User)
Icon("circle-o")
span Not connected
.widget-section.social-account
label(for="twitter") Twitter:
//- .widget-section.social-account
//- label(for="twitter") Twitter:
a#twitter.button.social-account-button(href="/auth/twitter", data-ajax="false")
if user.Accounts.Twitter.ID != ""
Icon("check")
span Connected
else
Icon("circle-o")
span Not connected
//- a#twitter.button.social-account-button(href="/auth/twitter", data-ajax="false")
//- if user.Accounts.Twitter.ID != ""
//- Icon("check")
//- span Connected
//- else
//- Icon("circle-o")
//- span Not connected
.widget.mountable
h3.widget-title