<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,10 @@
 {% extends &quot;layouts/discuss.twig&quot; %}
 
+{% block crumb %}
+&lt;a href=&quot;{% url &quot;/discuss&quot; %}&quot;&gt;Discuss&lt;/a&gt; &amp;raquo;
+Search
+{% endblock %}
+
 {% block content %}
 {% if forums.paginated or topics.paginated or messages.paginated %}
     &lt;h1&gt;${ &quot;Search results for &amp;#8220;%s&amp;#8221;&quot; | translate | format(search | escape) }&lt;/h1&gt;</diff>
      <filename>themes/chyrp/discuss/search.twig</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@
                 &lt;/div&gt;
                 {% endif %}
 
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/discuss/topic/edit.twig</filename>
    </modified>
    <modified>
      <diff>@@ -73,7 +73,7 @@ ${ messages.prev_link }
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
 
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/discuss/topic/view.twig</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ New Extension
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
 
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
         &lt;p&gt;</diff>
      <filename>themes/chyrp/extend/extension/new.twig</filename>
    </modified>
    <modified>
      <diff>@@ -39,7 +39,7 @@ $extension.name
         &lt;div id=&quot;attachments&quot;&gt;
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;')&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/extend/extension/view.twig</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@
                 &lt;/div&gt;
                 {% endif %}
 
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/extend/note/edit.twig</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,10 @@
 {% extends &quot;layouts/extend.twig&quot; %}
 
+{% block crumb %}
+&lt;a href=&quot;{% url &quot;/extend&quot; %}&quot;&gt;Extend&lt;/a&gt; &amp;raquo;
+Search
+{% endblock %}
+
 {% block content %}
 {% if extensions.paginated or versions.paginated or notes.paginated %}
     &lt;h1&gt;${ &quot;Search results for &amp;#8220;%s&amp;#8221;&quot; | translate | format(search | escape) }&lt;/h1&gt;</diff>
      <filename>themes/chyrp/extend/search.twig</filename>
    </modified>
    <modified>
      <diff>@@ -29,7 +29,7 @@
                 &lt;/div&gt;
                 {% endif %}
 
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
         &lt;p&gt;</diff>
      <filename>themes/chyrp/extend/version/edit.twig</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
 
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
         &lt;p&gt;</diff>
      <filename>themes/chyrp/extend/version/new.twig</filename>
    </modified>
    <modified>
      <diff>@@ -56,6 +56,11 @@ $(function(){
         return false;
     });
 
+    $(&quot;.add-attachment&quot;).click(function(){
+        $(&quot;#attachments .fields&quot;).append(&quot;&lt;br /&gt;&lt;input type=\&quot;file\&quot; name=\&quot;attachment[]\&quot; /&gt;&quot;);
+        return false;
+    });
+
     if (Cookie.get(&quot;hide_debug&quot;) == &quot;true&quot;) {
         $(&quot;#debug&quot;).height(17);
         $(&quot;#debug&quot;).css(&quot;overflow-y&quot;, &quot;hidden&quot;);</diff>
      <filename>themes/chyrp/javascripts/theme.js.php</filename>
    </modified>
    <modified>
      <diff>@@ -50,7 +50,7 @@ ${ tickets.prev_link }
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
 
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/progress/milestone.twig</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,10 @@
 {% extends &quot;layouts/progress.twig&quot; %}
 
+{% block crumb %}
+&lt;a href=&quot;{% url &quot;/progress&quot; %}&quot;&gt;Progress&lt;/a&gt; &amp;raquo;
+Search
+{% endblock %}
+
 {% block content %}
 {% if tickets.paginated or revisions.paginated or milestones.paginated %}
     &lt;h1&gt;${ &quot;Search results for &amp;#8220;%s&amp;#8221;&quot; | translate | format(search | escape) }&lt;/h1&gt;</diff>
      <filename>themes/chyrp/progress/search.twig</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@
                 &lt;/div&gt;
                 {% endif %}
 
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;'); return false;&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/progress/ticket/edit.twig</filename>
    </modified>
    <modified>
      <diff>@@ -100,7 +100,7 @@ ${ revisions.prev_link }
         &lt;div id=&quot;attachments&quot;&gt;
             &lt;label for=&quot;attachment&quot;&gt;Attachment(s)&lt;/label&gt;
             &lt;div class=&quot;fields&quot;&gt;
-                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;$$('#attachments .fields').append('&lt;br /&gt;&lt;input type=\'file\' name=\'attachment[]\' /&gt;')&quot;&gt;[+]&lt;/a&gt;
+                &lt;input type=&quot;file&quot; name=&quot;attachment[]&quot; /&gt; &lt;a class=&quot;add-attachment&quot; href=&quot;javascript:void(0)&quot;&gt;+&lt;/a&gt;
             &lt;/div&gt;
         &lt;/div&gt;
 </diff>
      <filename>themes/chyrp/progress/ticket/view.twig</filename>
    </modified>
    <modified>
      <diff>@@ -923,6 +923,21 @@ div#controls ul li.close a:hover {
         color: #fff;
         font-weight: normal;
 }
+.add-attachment {
+    font-size: 1.5em;
+    line-height: .666em;
+    padding: .3em .3125em;
+    background: #1d1d1d;
+    margin-left: .5em;
+    margin-top: .1em;
+    display: inline-block;
+}
+.add-attachment:hover {
+    background-color: #222;
+}
+.add-attachment:active {
+    background: #0a0a0a;
+}
 .big {
     font-size: 1.5em;
     font-weight: bold;</diff>
      <filename>themes/chyrp/stylesheets/screen.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7b23a6aa8413ec5cae89258c2ddeb68f0e5f1c40</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp-site/commit/bcebfd55ee2828f87995109653d3d6d00ae494e5</url>
  <id>bcebfd55ee2828f87995109653d3d6d00ae494e5</id>
  <committed-date>2009-06-30T10:54:52-07:00</committed-date>
  <authored-date>2009-06-30T10:54:52-07:00</authored-date>
  <message>Refactored the 'add another attachment' (+) button.</message>
  <tree>f9f752ed5c130373ca629967bb6c78dfefcf5e28</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
