<commit_before>
<%@ page import="gov.nih.nci.cma.domain.List" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Show List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list">List List</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">New List</g:link></span>
        </div>
        <div class="body">
            <h1>Show List</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>

                    
                        <tr class="prop">
                            <td valign="top" class="name">Id:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'id')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Creation Date:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'creationDate')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Description:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'description')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Institution:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'institution')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">List Items:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="l" in="${list.listItems}">
                                    <li><g:link controller="listItem" action="show" id="${l.id}">${l?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr><commit_msg>Made display of list items better.<commit_after>
<%@ page import="gov.nih.nci.cma.domain.List" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Show List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list">List List</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">New List</g:link></span>
        </div>
        <div class="body">
            <h1>Show List</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>

                    
                        <tr class="prop">
                            <td valign="top" class="name">Id:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'id')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Creation Date:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'creationDate')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Description:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'description')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Institution:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:list, field:'institution')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">List Items:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="l" in="${list.listItems}">
                                    <li><g:link controller="listItem" action="show" id="${l?.id}">${l?.itemName}   desc=${l?.itemDescription}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
{'fraction_non_alphanumeric': 0.1497326203208556, 'fraction_numerical': 0.0010350181128169743, 'mean_word_length': 0.9781644489935176, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, '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': '4307694', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1386, 'n_words': 223}