<commit_before>{% extends "communities/base_meeting.html" %}
{% load i18n %}
{% load opencommunity community_tags %}

{% block title %}
	<title>{{ object.name }} - {{ object.upcoming_meeting_title|default:_("Upcoming meeting") }}</title>
{% endblock %}

{% block extra-page-id %}
	id="upcoming-meeting"
{% endblock %}

{% block page_header %}
<span class="show_meetings visible-xs" style="cursor: pointer;">{% trans "All meetings" %}</span>
{% endblock %}

{% block meeting %}
	<div class="small_meetings" style="display: none;">
		<ul>
    	{% if object.upcoming_meeting_scheduled_at %}
          <li class="active">
            <h4><a href="{{object.get_absolute_url}}">{% trans "Upcoming meeting" %}</a></h4>
            <h5 style="font-weight: normal;"><i class="fa fa-calendar"></i> {{ object|display_upcoming_time }}
            {% if object.upcoming_meeting_location %}<i class="fa fa-map-marker"></i> {{ object.upcoming_meeting_location }}{% endif %}</h5>
          </li>
      	{% endif %}
		{% if object.meetings.count %}
		{% for m in object.meetings.all %}
          <li>
            <h4><a href="{{m.get_absolute_url}}">{% if m.title %}{{ m.title }}{% else %}{{ m.held_at }}{% endif %}</a></h4>
            <h5 style="font-weight: normal;">{% if m.title %}<i class="fa fa-calendar"></i> {{ m.held_at }}{% endif %}
            {% if m.location %}<i class="fa fa-map-marker"></i> {{ m.location }}{% endif %}</h5>
          </li>
		{% endfor %}
		{% endif %}
        </ul>
	</div>
<div class="main_meeting_content">
	<div class="text-right col-xs-12" style="font-size: 14px; border-bottom: 1px solid #666; margin-bottom: 10px;">
		{% with status=object|upcoming_status %}
			-- {{ status.0 }} --
			{% if status.1 %}<!-- <h5>({{ status.1 }}) </h5> -->{% endif %}
		{% endwith %}
	</div>
	<div class="col-xs-12">
		{% if cperms.communities.viewupcoming_community %}
			{% if cperms.communities.viewupcoming_draft or object.upcoming_meeting_is_published %}
				<div class="pull-right">
					{% if cperms.community.editupcoming_community %}
						<i class="fa fa-edit"></i> <a data-rel="form" href="{% url "upcoming_edit" community.id %}" style="color: #6C6C6E;display: inline-block; text-align: left;"><span>{% trans "Edit" %}</span></a>
					{% endif %}
				</div>
			{% endif %}
		{% endif %}
		<div class="pull-left">
			<h1>
			{% if object.upcoming_meeting_title and cperms.communities.viewupcoming_community %}
				{% if cperms.community.editagenda_community or object.upcoming_meeting_is_published %}
					{{object.upcoming_meeting_title}}
				{% endif %}
			{% else %}
				{% trans "Upcoming meeting" %}
			{% endif %}
			</h1>
		</div>
	</div>
	{% if cperms.communities.viewupcoming_community %}
		{% if cperms.communities.viewupcoming_draft or object.upcoming_meeting_is_published %}
	
			{% if object.straw_voting_enabled and not object.straw_vote_ended and not user.id %}
			<div class="text-center clear" style="margin-bottom: 10px;">
				<a href="{% url 'login' %}?next={{ request.path }}" class="btn btn-warning">{% trans "Login to vote" %}</a>
			</div>
			{% endif %}
	
			<div class="oc_detail_top row clear" style="border:0;background: none;">
				<h5 class="pull-left" style="line-height: 1.3;">
	        		<i class="fa fa-calendar"></i> {{ object|display_upcoming_time }}
					<i class="fa fa-map-marker"></i> {{object.upcoming_meeting_location|default:_("Not set yet")}}
				{% if cperms.community.editparticipants_community and community.upcoming_meeting_started %}
					<i class="fa fa-group"></i> <a data-rel="form" href="{% url "upcoming_edit_participants" community.id  %}" style="color: #6C6C6E;">{% trans "Participants" %}: {{object.full_participants}}</a>
				{% endif %}
				</h5>

				{% if cperms.community.editupcoming_community %}
                    <h5 class="pull-right">
                        {% if object.upcoming_meeting_started %}
                            <form method="post" action="{% url "upcoming_end" community.id  %}">
                                {% csrf_token %}
                                <button class="btn btn-default" style="border: 0; outline: none;background: 0;padding: 0;"><commit_msg>Hide upcoming meeting location when not set.<commit_after>{% extends "communities/base_meeting.html" %}
{% load i18n %}
{% load opencommunity community_tags %}

{% block title %}
	<title>{{ object.name }} - {{ object.upcoming_meeting_title|default:_("Upcoming meeting") }}</title>
{% endblock %}

{% block extra-page-id %}
	id="upcoming-meeting"
{% endblock %}

{% block page_header %}
<span class="show_meetings visible-xs" style="cursor: pointer;">{% trans "All meetings" %}</span>
{% endblock %}

{% block meeting %}
	<div class="small_meetings" style="display: none;">
		<ul>
    	{% if object.upcoming_meeting_scheduled_at %}
          <li class="active">
            <h4><a href="{{object.get_absolute_url}}">{% trans "Upcoming meeting" %}</a></h4>
            <h5 style="font-weight: normal;"><i class="fa fa-calendar"></i> {{ object|display_upcoming_time }}
            {% if object.upcoming_meeting_location %}<i class="fa fa-map-marker"></i> {{ object.upcoming_meeting_location }}{% endif %}</h5>
          </li>
      	{% endif %}
		{% if object.meetings.count %}
		{% for m in object.meetings.all %}
          <li>
            <h4><a href="{{m.get_absolute_url}}">{% if m.title %}{{ m.title }}{% else %}{{ m.held_at }}{% endif %}</a></h4>
            <h5 style="font-weight: normal;">{% if m.title %}<i class="fa fa-calendar"></i> {{ m.held_at }}{% endif %}
            {% if m.location %}<i class="fa fa-map-marker"></i> {{ m.location }}{% endif %}</h5>
          </li>
		{% endfor %}
		{% endif %}
        </ul>
	</div>
<div class="main_meeting_content">
	<div class="text-right col-xs-12" style="font-size: 14px; border-bottom: 1px solid #666; margin-bottom: 10px;">
		{% with status=object|upcoming_status %}
			-- {{ status.0 }} --
			{% if status.1 %}<!-- <h5>({{ status.1 }}) </h5> -->{% endif %}
		{% endwith %}
	</div>
	<div class="col-xs-12">
		{% if cperms.communities.viewupcoming_community %}
			{% if cperms.communities.viewupcoming_draft or object.upcoming_meeting_is_published %}
				<div class="pull-right">
					{% if cperms.community.editupcoming_community %}
						<i class="fa fa-edit"></i> <a data-rel="form" href="{% url "upcoming_edit" community.id %}" style="color: #6C6C6E;display: inline-block; text-align: left;"><span>{% trans "Edit" %}</span></a>
					{% endif %}
				</div>
			{% endif %}
		{% endif %}
		<div class="pull-left">
			<h1>
			{% if object.upcoming_meeting_title and cperms.communities.viewupcoming_community %}
				{% if cperms.community.editagenda_community or object.upcoming_meeting_is_published %}
					{{object.upcoming_meeting_title}}
				{% endif %}
			{% else %}
				{% trans "Upcoming meeting" %}
			{% endif %}
			</h1>
		</div>
	</div>
	{% if cperms.communities.viewupcoming_community %}
		{% if cperms.communities.viewupcoming_draft or object.upcoming_meeting_is_published %}
	
			{% if object.straw_voting_enabled and not object.straw_vote_ended and not user.id %}
			<div class="text-center clear" style="margin-bottom: 10px;">
				<a href="{% url 'login' %}?next={{ request.path }}" class="btn btn-warning">{% trans "Login to vote" %}</a>
			</div>
			{% endif %}
	
			<div class="oc_detail_top row clear" style="border:0;background: none;">
				<h5 class="pull-left" style="line-height: 1.3;">
	        		<i class="fa fa-calendar"></i> {{ object|display_upcoming_time }}
					{% if object.upcoming_meeting_location %}<i class="fa fa-map-marker"></i> {{ object.upcoming_meeting_location }}{% endif %}
				{% if cperms.community.editparticipants_community and community.upcoming_meeting_started %}
					<i class="fa fa-group"></i> <a data-rel="form" href="{% url "upcoming_edit_participants" community.id  %}" style="color: #6C6C6E;">{% trans "Participants" %}: {{object.full_participants}}</a>
				{% endif %}
				</h5>

				{% if cperms.community.editupcoming_community %}
                    <h5 class="pull-right">
                        {% if object.upcoming_meeting_started %}
                            <form method="post" action="{% url "upcoming_end" community.id  %}">
                                {% csrf_token %}
                                <button class="btn btn-default" style="border: 0; outline: none;background: 0;padding: 0;">
{'fraction_non_alphanumeric': 0.19074868860276586, 'fraction_numerical': 0.010968049594659036, 'mean_word_length': 3.3153292181069958, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3865838', 'n_tokens_mistral': 3324, 'n_tokens_neox': 2781, 'n_words': 562}