Edgewall Software

Ticket #2703: reply_as_a_button.patch

File reply_as_a_button.patch, 1.5 KB (added by Christian Boos, 20 years ago)

Patch on top of attachment:comment_permalink_and_reply_to.diff which uses a button instead of a [Reply] text link

  • htdocs/css/ticket.css

    diff -r a99f924231b1 htdocs/css/ticket.css
    a b  
    5151 font-size: 100%;
    5252 font-weight: normal;
    5353}
    54 span.commentcmd {
    55  padding-top: 0.5em;
    56  float: right;
    57  font-size: 85%;
     54.inlinebuttons input {
     55 float: right;
     56 font-size: 70%;
     57 border-width: 1px;
     58 margin: 0 .5em .1em 1.5em;
     59 padding: 0.1em;
     60 background-color: #f6f6f6;
    5861}
    5962#changelog .changes { list-style: square; margin-left: 2em; padding: 0 }
    6063#changelog .comment { margin-left: 2em }
  • templates/ticket.cs

    diff -r a99f924231b1 templates/ticket.cs
    a b  
    105105   var:change.date ?>: Modified by <?cs var:change.author ?><?cs
    106106   if:change.cnum ?><a href="#comment:<?cs var:change.cnum ?>" class="anchor"
    107107      title="Permalink to comment:<?cs var:change.cnum ?>">
    108     &para;</a>
    109     <span class="commentcmd"><a href="<?cs var:ticket.href ?>?replyto=<?cs var:change.cnum ?>#comment"
    110        title="Reply to this comment" ?>[Reply]</a></span><?cs
     108    &para;</a><?cs
    111109   /if ?></h3><?cs
     110
     111
     112
     113
     114
     115
    112116  if:len(change.fields) ?>
    113117   <ul class="changes"><?cs
    114118   each:field = change.fields ?>