incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1427702 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme: htdocs/bloodhound.css templates/bh_ticket.html templates/bh_ticket_box.html
Date Wed, 02 Jan 2013 08:37:15 GMT
Author: gjm
Date: Wed Jan  2 08:37:15 2013
New Revision: 1427702

URL: http://svn.apache.org/viewvc?rev=1427702&view=rev
Log:
editing of special fields (summany, description, etc) - towards #146 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1427702&r1=1427701&r2=1427702&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Wed Jan  2 08:37:15
2013
@@ -214,10 +214,6 @@ pre.wiki {
   width: 505px;
 }
 
-#field-reporter {
-  width: 505px;
-}
-
 .bh-ticket-buttons {
   padding-left: 5px;
 }

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1427702&r1=1427701&r2=1427702&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Wed Jan 
2 08:37:15 2013
@@ -163,7 +163,9 @@
           <div id="overview" class="stickyStatus $colspan">
             <div class="whitebox"></div>
             <div class="properties">
-              <h2 class="summary searchable clip-affix" py:choose="">
+              <h2 class="summary searchable clip-affix" py:choose=""
+                  data-edit="${'inplace' if can_modify or can_create else None}"
+                  id="vc-summary">
                 <py:when test="ticket.exists">&#9734; $ticket.summary</py:when>
                 <py:otherwise>Create Ticket</py:otherwise>
               </h2>
@@ -232,7 +234,8 @@
                           Reporter:
                         </h5>
                       </div>
-                      <div class="span2">
+                      <div class="span2" id="vc-reporter"
+                          data-edit="${'inplace' if only_for_admin else None}">
                         ${reporter_link if defined('reporter_link') else authorinfo(ticket.reporter)}
                         &nbsp;
                       </div>
@@ -402,7 +405,7 @@ ${comment}</textarea>
                           <th><label for="field-reporter">Reporter:</label></th>
                           <td class="fullrow" colspan="3">
                             <input type="text" id="field-reporter" name="field_reporter"
-                                   value="${ticket.reporter}" size="70" />
+                                   value="${ticket.reporter}" class="input-medium" />
                           </td>
                         </tr>
                       </py:if>

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html?rev=1427702&r1=1427701&r2=1427702&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html Wed Jan
 2 08:37:15 2013
@@ -80,7 +80,8 @@ Arguments:
       <py:for each="field in fields">
         <py:if test="field.name == 'keywords'">
           <div title="Keywords">
-            <i class="icon-tags"></i> ${field.rendered}
+            <i class="icon-tags"></i>
+            <span data-edit="${'inplace' if can_modify or can_edit or can_create else
None}" id="vc-keywords">${field.rendered}</span>
           </div>
         </py:if>
       </py:for>
@@ -105,7 +106,9 @@ Arguments:
                 title="Reply, quoting this description" />
           </form>
         </div>
-        <div py:if="ticket.description" class="searchable" xml:space="preserve">
+        <div py:if="ticket.description" class="searchable" xml:space="preserve"
+            data-edit="${'inplace' if can_edit or can_create else None}"
+            id="vc-description">
           ${wiki_to_html(context, ticket.description, escape_newlines=preserve_newlines)}
         </div>
         <br py:if="not ticket.description" style="clear: both" />



Mime
View raw message