<commit_before>{% if d.template_data.project_user.data.is_member %}
	<div class="box goals-stack-holder" style="display:none;">
		<div class="hd clearfix">
			<h2>
				<span>
					Goals 
					<span class="counter">{{ d.template_data.project.data.info.goals['items']|length }}</span>
				</span>
			</h2>
			<div class="actions">
				<a class="back fancy-caps" href="#project-home">
					<span>Back <span>to</span> Project Home</span>
				</a>
			</div>
		</div>
		
		<ul class="goals-stack">
			
			{% for goal in d.template_data.project.data.info.goals['items'] %}
				{% if goal.active == True %}
					<li>
						<div class="goal-card">
							<a class="close" href="#close,{{ goal.goal_id }}"><span>Close</span></a>
							
							{% if goal.accomplished %}
								<div class="label-accomplished">
									Accomplished!
								</div>
							{% else %}
								<div class="control-accomplished">
									<a class="fancy-caps" href="#markAccomplished,{{ goal.goal_id }}">
										Mark <span>as</span> Accomplished
									</a>
								</div>
							{% endif %}
							
							<p>{{ goal.text }}</p>
							<div class="meta">
								<dl>
									<dt>Timeframe</dt>
									<dd>{{ goal.timeframe }}</dd>
									
									<dt>Point Person</dt>
									<dd><a href="/useraccount/{{ goal.owner.u_id }}">{{ goal.owner.name|truncate(15) }}</a></dd>
								</dl>
								
								<div class="timestamp">
									<strong>Added:</strong>
									<span class="datetime">{{ goal.created_datetime }}</span>
								</div>
							</div>
						</div>
					</li>
				{% endif %}
			{% endfor %}
			
			{% for goal in d.template_data.project.data.info.goals['items'] %}
				{% if goal.active == False %}
					<li>
						<div class="goal-card">
							<a class="close" href="#close,{{ goal.goal_id }}"><span>Close</span></a>
							
							<div class="make-this-active">
								<a href="#makeActive,{{ goal.goal_id }}" class="fancy-caps">Make <span>this the</span> Active Goal</a>
							</div><commit_msg>small fix in goals template, manage goals list was not displaying active goals<commit_after>{% if d.template_data.project_user.data.is_member %}
	<div class="box goals-stack-holder" style="display:none;">
		<div class="hd clearfix">
			<h2>
				<span>
					Goals 
					<span class="counter">{{ d.template_data.project.data.info.goals['items']|length }}</span>
				</span>
			</h2>
			<div class="actions">
				<a class="back fancy-caps" href="#project-home">
					<span>Back <span>to</span> Project Home</span>
				</a>
			</div>
		</div>
		
		<ul class="goals-stack">
			
			{% for goal in d.template_data.project.data.info.goals['items'] %}
				{% if goal.active %}
					<li>
						<div class="goal-card">
							<a class="close" href="#close,{{ goal.goal_id }}"><span>Close</span></a>
							
							{% if goal.accomplished %}
								<div class="label-accomplished">
									Accomplished!
								</div>
							{% else %}
								<div class="control-accomplished">
									<a class="fancy-caps" href="#markAccomplished,{{ goal.goal_id }}">
										Mark <span>as</span> Accomplished
									</a>
								</div>
							{% endif %}
							
							<p>{{ goal.text }}</p>
							<div class="meta">
								<dl>
									<dt>Timeframe</dt>
									<dd>{{ goal.timeframe }}</dd>
									
									<dt>Point Person</dt>
									<dd><a href="/useraccount/{{ goal.owner.u_id }}">{{ goal.owner.name|truncate(15) }}</a></dd>
								</dl>
								
								<div class="timestamp">
									<strong>Added:</strong>
									<span class="datetime">{{ goal.created_datetime }}</span>
								</div>
							</div>
						</div>
					</li>
				{% endif %}
			{% endfor %}
			
			{% for goal in d.template_data.project.data.info.goals['items'] %}
				{% if not goal.active %}
					<li>
						<div class="goal-card">
							<a class="close" href="#close,{{ goal.goal_id }}"><span>Close</span></a>
							
							<div class="make-this-active">
								<a href="#makeActive,{{ goal.goal_id }}" class="fancy-caps">Make <span>this the</span> Active Goal</a>
							</div>
{'fraction_non_alphanumeric': 0.19955708661417323, 'fraction_numerical': 0.001968503937007874, 'mean_word_length': 2.252, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3941093', 'n_tokens_mistral': 2087, 'n_tokens_neox': 1359, 'n_words': 260}