Archived
1
0
Fork 0

app/views/user/settings.volt: adding LinkedIn button

This commit is contained in:
Henrik Hautakoski 2018-08-08 22:53:56 +02:00
parent f4659ff549
commit f2774f180d
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View file

@ -1,8 +1,9 @@
{%
set social_links = [
'github' : [ 'connected': user.getGithubId() > 0 ],
'gitlab' : [ 'connected': user.getGitlabId() > 0, 'class': 'text-gitlab' ],
'google' : [ 'connected': user.getGoogleId() > 0, 'class': 'text-google' ]
'github' : [ 'connected': user.getGithubId() > 0 ],
'gitlab' : [ 'connected': user.getGitlabId() > 0, 'class': 'text-gitlab' ],
'google' : [ 'connected': user.getGoogleId() > 0, 'class': 'text-google' ],
'linkedin' : [ 'connected': user.getLinkedinId() | length, 'class': 'text-linkedin' ]
]
%}