<commit_before>           <!-- Show details of the course -->
		   <div class="messages"></div>
            <div id="summary" class="">
                <h3>${title}</h3>
                <table width="100%">
                	<tr>
                        <th>
                            Lecturer(s)
                        </th>
                        <td>
                            {for presenter in presenters}
								{if presenter.email}
									<a href="mailto:${presenter.email}">${presenter.name}</a>
								{else}
									${presenter.name}
								{/if}
							{/for}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Module Administrator
                        </th>
                        <td>
                        	{if administrator.email}
								<a href="mailto:${administrator.email}">${administrator.name}</a>
							{else}
								${administrator.name}
							{/if}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Department
                        </th>
                        <td>
                        	{if defined('department')}
                            	${department}
							{else}
								${departmentCode}
							{/if}
                        </td>
                    </tr>
					{if signup}
                    <tr>
                        <th>
                            Signup Available
                        </th>
                        <td>
                            ${signup}
                        </td>
                    </tr>
					{/if}
                </table>
            </div>
            <div id="description">
            	<h4>Description</h4>
				${description}
            </div>
			<div id="parts">
                <h4>Module Parts</h4>
				<span class="error" style="display:none"></span>
                <form id="signup" action="#">
                    <table width="100%">
                    	{for part in parts}
						<tr>
                            <th colspan="3">
                                ${part.type.name}
                            </th>
                        </tr>
						{var oneOpen = false}
						{for option in part.options}
                        <tr>
                            <td class="option-details">
                                <label for="option-${option.id}">${option.slot} for ${option.sessions} sessions starts in ${option.when},
								{if option.presenter}{if option.presenter.email}<a href="mailto:${option.presenter.email}">{/if}${option.presenter.name}{if option.presenter.email}</a>{/if}{/if}
								</label>
                                <br/>
                                <span class="location">${option.location}</span>
                            </td>
                            <td>
                            	{if option.bookable}
                            		{if option.full}
										full
									{else}
										${option.places} places
									{/if}
								{/if}
                            </td>
                            <td>
                            	
								{if option.signup && option.signup.status != "WITHDRAWN"}
									Signup: ${option.signup.status}
								{else}
								{if signup}
                                <input type="radio" name="${part.type.id}" id="option-${option.id}" value="${option.id}"
								 {if option.full || !option.open }disabled="true"{else}{var oneOpen = true}{/if}/>
								 {/if}
								{/if}
                            </td>
                        </tr>
						{/for}
						{if parts.length > 1 && oneOpen}
						<tr>
							<td class="option-details">
								<label for="option-none-${part.type.id}">Nothing for this option</label>
							</td>
							<td>N/A</td>
							<td><input type="radio" name="${part.type.id}" id="option-none-${part.type.id}" value="none"/></td>
						</tr>
						{/if}
						{/for}
                    </table>
					{if signup}
						<input type="submit" value="Signup" {if full || !open}disabled="true"{/if}/>
					{/if}
                </form>
            </div><commit_msg>Make it clearer when something isn't bookable.<commit_after>           <!-- Show details of the course -->
		   <div class="messages"></div>
            <div id="summary" class="">
                <h3>${title}</h3>
                <table width="100%">
                	<tr>
                        <th>
                            Lecturer(s)
                        </th>
                        <td>
                            {for presenter in presenters}
								{if presenter.email}
									<a href="mailto:${presenter.email}">${presenter.name}</a>
								{else}
									${presenter.name}
								{/if}
							{/for}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Module Administrator
                        </th>
                        <td>
                        	{if administrator.email}
								<a href="mailto:${administrator.email}">${administrator.name}</a>
							{else}
								${administrator.name}
							{/if}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Department
                        </th>
                        <td>
                        	{if defined('department')}
                            	${department}
							{else}
								${departmentCode}
							{/if}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Signup Available
                        </th>
                        <td>
							{if signup}
                            	${signup}
							{else}
								Not bookable
							{/if}		
                        </td>
                    </tr>
                </table>
            </div>
            <div id="description">
            	<h4>Description</h4>
				${description}
            </div>
			<div id="parts">
                <h4>Module Parts</h4>
				<span class="error" style="display:none"></span>
                <form id="signup" action="#">
                    <table width="100%">
                    	{for part in parts}
						<tr>
                            <th colspan="3">
                                ${part.type.name}
                            </th>
                        </tr>
						{var oneOpen = false}
						{for option in part.options}
                        <tr>
                            <td class="option-details">
                                <label for="option-${option.id}">${option.slot} for ${option.sessions} sessions starts in ${option.when},
								{if option.presenter}{if option.presenter.email}<a href="mailto:${option.presenter.email}">{/if}${option.presenter.name}{if option.presenter.email}</a>{/if}{/if}
								</label>
                                <br/>
                                <span class="location">${option.location}</span>
                            </td>
                            <td>
                            	{if option.bookable}
                            		{if option.full}
										full
									{else}
										${option.places} places
									{/if}
								{/if}
                            </td>
                            <td>
                            	
								{if option.signup && option.signup.status != "WITHDRAWN"}
									Signup: ${option.signup.status}
								{else}
								{if signup}
                                <input type="radio" name="${part.type.id}" id="option-${option.id}" value="${option.id}"
								 {if option.full || !option.open }disabled="true"{else}{var oneOpen = true}{/if}/>
								 {/if}
								{/if}
                            </td>
                        </tr>
						{/for}
						{if parts.length > 1 && oneOpen}
						<tr>
							<td class="option-details">
								<label for="option-none-${part.type.id}">Nothing for this option</label>
							</td>
							<td>N/A</td>
							<td><input type="radio" name="${part.type.id}" id="option-none-${part.type.id}" value="none"/></td>
						</tr>
						{/if}
						{/for}
                    </table>
					{if signup}
						<input type="submit" value="Signup" {if full || !open}disabled="true"{/if}/>
					{else}
						<input type="submit" value="Not Bookable">
					{/if}
                </form>
            </div>
{'fraction_non_alphanumeric': 0.13996229971724788, 'fraction_numerical': 0.003298774740810556, 'mean_word_length': 0.8595837897042716, 'pattern_counts': {'":': 0, '<': 170, '<?xml version=': 0, '>': 172, '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': '2124220', 'n_tokens_mistral': 2932, 'n_tokens_neox': 2182, 'n_words': 417}