ChrisBAshton/smartresolution

View on GitHub
webapp/core/view/lifespan_agreed.html

Summary

Maintainability
Test Coverage
<p>
    <?php
    if ($dispute->getLatestLifespan()) {
        echo $dispute->getLatestLifespan()->status();
    }
    ?>
</p>

<p>
    <strong>Starting:</strong> <?php echo prettyTime($dispute->getLatestLifespan()->startTime()); ?>
</p>

<p>
    <strong>Ending:</strong> <?php echo prettyTime($dispute->getLatestLifespan()->endTime()); ?>
</p>

<?php
if ($dispute->getState($account)->canNegotiateLifespan()) :
?>
<p>
    You can try <a href="<?php echo $dispute->getUrl(); ?>/lifespan/new">renegotiate a new lifespan</a>, but if the other party does not accept, the above lifespan takes precedence.
</p>
<?php
    endif;
?>