diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 8a25a9e..029cc7f 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -7,10 +7,15 @@ body { padding-top: 50px; } } /** angular-ui */ -.nav, .pagination, .carousel, .panel-title a { - cursor: pointer; +.nav, .pagination, .carousel, .panel-title a { + cursor: pointer; } .diff-row { margin-bottom: 15px; } + +.diff-link { + overflow: hidden; + text-overflow: ellipsis; +} diff --git a/views/partials/release-ticket-diff-add.jade b/views/partials/release-ticket-diff-add.jade index 0494d65..37bda1d 100644 --- a/views/partials/release-ticket-diff-add.jade +++ b/views/partials/release-ticket-diff-add.jade @@ -9,12 +9,12 @@ div(class='modal-body') ng-submit='submit(addDiff.$valid)' ) div(class='form-group') - label(class='control-label col-sm-2') Phabricator Diff + label(class='control-label col-sm-2') Phabricator Diff/Commit div(class='col-sm-10') input( type='text', class='form-control', - placeholder='D####', + placeholder='D#### or r[REPO][commit hash]', required, ng-model='newDiff.diffId' ) diff --git a/views/partials/release-view.jade b/views/partials/release-view.jade index d2829c1..2c23bdc 100644 --- a/views/partials/release-view.jade +++ b/views/partials/release-view.jade @@ -65,7 +65,7 @@ div(ng-show="release") ng-show='diff.repoName', title='Added {{ diff.created | date:"EEEE, MMMM d yyyy HH:mm:ss" }}' ) {{diff.repoName}} - div(class='col-sm-2', ng-class='{"text-muted": diff.released}') + div(class='col-sm-2 diff-link', ng-class='{"text-muted": diff.released}') a(href='http://phab.dev.ebuyer.com/{{diff.diffId}}') {{diff.diffId}} div(class='col-sm-2', ng-class='{"text-success": diff.released && !diff.rolledBack}') span(ng-show='diff.released && !diff.rolledBack')