{% load ndf_tags %} {% load i18n %} {% get_group_object groupid as group_object %}
×
{% get_relation_value node.pk 'has_thumbnail' as grel_dict %} {% get_relation_value node.pk 'has_logo' as grel_dict_logo %} {% get_relation_value node.pk 'has_banner_pic' as grel_banner %} {% if prof_pic_obj %} {% elif grel_dict %} {% elif grel_dict_logo %} {% elif grel_banner %} {% else %} {% if "Author" in group_object.member_of_names_list %} {% elif node.if_file.mid.relurl %} Profile picture for this group. {% elif "announced_unit" in group_object.member_of_names_list %} Profile picture for this group. {% else %} Profile picture for this group. {% endif %} {% endif %}
{% if not no_update_btn %} {% if request.user.is_authenticated %} {% check_is_gstaff groupid request.user as gstaff_access %} {% if "Author" in group_object.member_of_names_list and user_id == request.user.id or "Author" not in group_object.member_of_names_list and gstaff_access %}
{% endif %} {% endif %} {% endif %}
{% if old_profile_pics %}
Choose Any Existing Photo
{% for each_prof_pic in old_profile_pics %}
{% endfor %}
{% endif %}
{% csrf_token %} {% if is_banner and not is_profile %} {% elif is_profile and not is_banner %} {% elif is_banner %} {% elif is_thumbnail and not is_banner or is_profile %} {% endif %}
New profile photo
{% if url_name %} {% endif %}
×