Remove styling markup from add_list.php

Project:ProjectPier
Version:0.8.5.0-Beta1
Component:Code
Category:bug report
Priority:normal
Assigned:phpfreak
Status:closed - fixed
Description

/application/views/tasks/add_list.php contains inline styles that make it hard to style with themes.
Sorry i tried to create a patch, but I'm useless with svn.

Basically, the proposed fix is to take line #55

and replace with

I'm attaching a patch file, but i'm not sure it's working. the fix works, the patch file is untested.

AttachmentSize
add_list.patch417 bytes
#1

ugh, cannot edit, but meant replace
<tr style="background: <?php echo $i % 2 ? '#fff' : '#e8e8e8' ?>">
with
<tr class="<?php echo $i % 2 ? 'odd' : 'even' ?>">

#2
Version:<none>» 0.8.5.0-Beta1
Status:new» patch - code needs work

The patch includes your full directory structure.

I'll try to get to it, try your modification and create the according patch but if anybody feels like it before me, feel free :)

#3
Status:patch - code needs work» patch - code needs review

I haven't changed anything to your suggestion. The patch should work on all installations though.

One task that comes with this patch is to possibly update the themes to use that.
It does work without modification to the themes.

#4

Thanks Tim. marine & sand themes already work with it, and it would be super simple to add support to other themes. what's the best way to go about it? submit individual patches or one mega-patch?

#5

Individual patches help us track things better, but if you'd like to also supply a mega patch with a reference to the other patches that's helpful too =)

#6
Assigned to:Visitor» phpfreak
Status:patch - code needs review» closed - fixed

Accepted in 0.8.6