<commit_before>{#
#  @license 3-clause BSD https://github.com/SlightScribe/SlightScribe-Core/blob/master/LICENSE.md
#  @link https://github.com/SlightScribe/SlightScribe-Core
#}


{%  extends 'SlightScribeBundle::base.html.twig' %}

{% block main %}

    <ol class="breadcrumb">
        <li><a href="{{ path('slight_scribe_admin_homepage') }}">Admin</a></li>
        <li><a href="{{ path('slight_scribe_admin_project_show',{ 'projectId':project.publicId }) }}">Project: {{  project.titleAdmin }}</a></li>
        <li class="active">Version: {{  version.titleAdmin }}</li>
    </ol>

    <h2>Project {{  project.titleAdmin }} Version {{  version.titleAdmin }}</h2>


    {% if isPublishedVersion %}
        <p>
            Published Version!
        </p>
    {% endif %}

    <ul class="list-group">
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_access_points_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Access Points</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_communications_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Communications</a></li>
        <li class="list-group-item"><a href="{{ path('slight_scribe_admin_project_version_new_communication',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">Communication - New</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_files_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Files</a></li>
        <li class="list-group-item"><a href="{{ path('slight_scribe_admin_project_version_new_file',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">File - New</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_runs_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Runs</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_new_version',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">New Version</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_publish',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">Publish this Version</a></li>
    </ul>

{% endblock %}<commit_msg>Show link to version a version was created from<commit_after>{#
#  @license 3-clause BSD https://github.com/SlightScribe/SlightScribe-Core/blob/master/LICENSE.md
#  @link https://github.com/SlightScribe/SlightScribe-Core
#}


{%  extends 'SlightScribeBundle::base.html.twig' %}

{% block main %}

    <ol class="breadcrumb">
        <li><a href="{{ path('slight_scribe_admin_homepage') }}">Admin</a></li>
        <li><a href="{{ path('slight_scribe_admin_project_show',{ 'projectId':project.publicId }) }}">Project: {{  project.titleAdmin }}</a></li>
        <li class="active">Version: {{  version.titleAdmin }}</li>
    </ol>

    <h2>Project {{  project.titleAdmin }} Version {{  version.titleAdmin }}</h2>

    {%  if version.fromOldVersion %}
        <p>
            Created from old version:
            <a href="{{ path('slight_scribe_admin_project_version_show',{ 'projectId':project.publicId,'versionId':version.fromOldVersion.publicId }) }}">{{  version.fromOldVersion.titleAdmin }}</a></li>
        </p>
    {%  endif %}

    {% if isPublishedVersion %}
        <p>
            Published Version!
        </p>
    {% endif %}

    <ul class="list-group">
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_access_points_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Access Points</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_communications_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Communications</a></li>
        <li class="list-group-item"><a href="{{ path('slight_scribe_admin_project_version_new_communication',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">Communication - New</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_files_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Files</a></li>
        <li class="list-group-item"><a href="{{ path('slight_scribe_admin_project_version_new_file',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">File - New</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_runs_list',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-default">Runs</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_new_version',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">New Version</a></li>
        <li class="list-group-item"><a href="{{  path('slight_scribe_admin_project_version_publish',{'projectId':project.publicId,'versionId':version.publicId}) }}" class="btn btn-warning">Publish this Version</a></li>
    </ul>

{% endblock %}
{'fraction_non_alphanumeric': 0.19234275296262535, 'fraction_numerical': 0.0010938924339106654, 'mean_word_length': 5.379069767441861, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 0, '>': 108, 'https://': 4, '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': '5529739', 'n_tokens_mistral': 1777, 'n_tokens_neox': 1727, 'n_words': 221}