]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- updated order patch
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Nov 2008 18:02:25 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-order.patch -> 1.13
    eventum.spec -> 1.295

eventum-order.patch
eventum.spec

index bc1dc7b86b6f65a71f91b84173ff018c64d586be..84c545fe45e602712a5d33446de05c8d5f3e970a 100644 (file)
 +      background-color: #ffffdd;
 +      border: 1px solid red;
 +}
+--- eventum~/css/style.css     2008-11-06 16:54:30.000000000 +0200
++++ eventum/css/style.css      2008-11-06 16:20:50.038350957 +0200
+@@ -173,8 +173,21 @@
+     font-family: Verdana, Arial, Helvetica, sans-serif;
+     padding: 10px;
+ }
+-
+ .tDnD_whileDrag td {
+-      background-color: #ffffdd;
+-      border: 1px solid red;
++    background-color: #ffffdd;
++}
++.tDnD_whileDrag td {
++    border: 1px solid red;
++}
++.inline_date_pick {
++    cursor: pointer;
++}
++.custom_field {
++    cursor: pointer;
++}
++.showDragHandle {
++    cursor: move;
++      background-image: url(../images/updown2.gif);
++    background-repeat: no-repeat;
++    background-position: center center;
+ }
+--- eventum~/templates/list.tpl.html   2008-11-06 16:54:30.000000000 +0200
++++ eventum/templates/list.tpl.html    2008-11-11 11:22:36.206950437 +0200
+@@ -250,9 +250,6 @@
+             </table>
+             {elseif $sorting.links[$field_name] != ''}
+               <a title="{t}sort by{/t} {$column.title}" href="{$sorting.links[$field_name]}" class="white_link">{$column.title}</a>
+-              {if $field_name == 'isu_order'}
+-                 <br>{$users[$isu_order_user]}
+-              {/if}
+               {if $sorting.images[$field_name] != ""}<a title="{t}sort by{/t} {$column.title}" href="{$sorting.links[$field_name]}" class="white_link"><img border="0" src="{$sorting.images[$field_name]}"></a>{/if}
+             {else}
+               {$column.title}
+@@ -275,7 +272,7 @@
+                 </td>
+               {/foreach}
+           {elseif $field_name != 'isu_order' || $isu_order_user}
+-          <td bgcolor="{$list[i].status_color}" align="{$column.align|default:'center'}" class="default">
++          <td bgcolor="{$list[i].status_color}" align="{$column.align|default:'center'}" class="default{if $field_name == 'isu_order'} dragHandle{/if}">
+             {if $field_name == 'iss_id'}
+               <a href="view.php?id={$list[i].iss_id}" class="link" title="{t}view issue details{/t}">{$list[i].iss_id}</a>
+             {elseif $field_name == 'pri_rank'}
+@@ -319,9 +316,7 @@
+                   <b>[Private]</b>
+               {/if}
+             {elseif $field_name == 'isu_order'}
+-              {if $list[i].assigned_users_order[$current_user_id]}
+-                <img src="{$rel_url}images/updown.gif" alt="move">
+-              {/if}
++              {if $options.sort_by == "isu_order" and $current_user_id == $isu_order_user}&nbsp;{/if}
+             {/if}
+           </td>
+           {/if}
+@@ -334,7 +329,7 @@
+           </td>
+         </tr>
+         {/section}
+-      </tbody>
++        </tbody>
+         <tr bgcolor="{$cell_color}" class="nodrag">
+           <td colspan="{$col_count}">
+             <table width="100%" cellspacing="0" cellpadding="0">
+@@ -409,10 +404,16 @@
+                 alert(data);
+             }
+         }, "text");
+-    }
++    },
++      dragHandle: "dragHandle"
++});
++$("#issue_list_table tr").hover(function() {
++    $('#' + this.id + ' .dragHandle').addClass('showDragHandle');
++}, function() {
++    $('#' + this.id + ' .dragHandle').removeClass('showDragHandle');
+ });
+ {/literal}
+ {/if}
+ </script>
+ {include file="app_info.tpl.html"}
+-{include file="footer.tpl.html"}
+\ No newline at end of file
++{include file="footer.tpl.html"}
index f2d83e2f776a1d5afe146f083b4b0c92cc692d12..3858d1001763c1cc06ae0057a2e5fe176c21c6eb 100644 (file)
@@ -11,8 +11,8 @@
 %bcond_without order   # with experimental order patch
 
 #define        snap    20060921
-%define        svn             r3765
-%define        rel             0.52
+%define        svn             r3775
+%define        rel             0.57
 #define        _rc             RC3
 
 %include       /usr/lib/rpm/macros.php
@@ -27,7 +27,7 @@ Group:                Applications/WWW
 #Source0:      http://eventum.mysql.org/downloads/eventum-2.0.RC3.tar.gz
 #Source0:      http://mysql.tonnikala.org/Downloads/eventum/%{name}-%{version}.tar.gz
 Source0:       %{name}-%{svn}.tar.bz2
-# Source0-md5: d9c3e9d38563aa2ab9d8f1abf156ac96
+# Source0-md5: 52266bfa32287fb2c5b6ca0e50ebf65f
 Source1:       %{name}-apache.conf
 Source2:       %{name}-mail-queue.cron
 Source3:       %{name}-mail-download.cron
@@ -42,8 +42,8 @@ Source12:     %{name}-upgrade.sh
 Source13:      %{name}-router-postfix.sh
 Source14:      %{name}.logrotate
 Source15:      %{name}-lighttpd.conf
-Source16:      http://glen.alkohol.ee/pld/eventum/updown.gif
-# Source16-md5:        6ad017595c70112a29eb553460ff7054
+Source16:      http://www.isocra.com/images/updown2.gif
+# Source16-md5:        deb6eeb2552ba757d3a949ed10c4107d
 Patch0:                %{name}-lf.patch
 Patch2:                %{name}-order.patch
 # packaging patches that probably never go upstream
This page took 0.049626 seconds and 4 git commands to generate.