0001-profile-look-at-explicit-nameid-context-to-get-user-.patch
combo/profile/models.py | ||
---|---|---|
43 | 43 |
@property |
44 | 44 |
def url(self): |
45 | 45 |
idp = settings.KNOWN_SERVICES.get('authentic').values()[0] |
46 |
return '{%% load combo %%}%sapi/users/{{ concerned_user|name_id }}/' % idp.get('url')
|
|
46 |
return '{%% load combo %%}%sapi/users/{%% firstof name_id concerned_user|name_id %%}/' % idp.get('url')
|
|
47 | 47 | |
48 | 48 |
def is_visible(self, user=None): |
49 | 49 |
if not user or user.is_anonymous(): |
50 |
- |