Jump to content

Creating Bug Tracker


Anthony Luth

Recommended Posts

Posted

Changing the button text is as simple as changing the language fields while creating or editing your database:
database-language.thumb.png.43acb4b090c1

For the filters, you want to add a new Field.
bug-status-field.thumb.png.cd8ce93fadf39

Make sure you allow filtering, as shown above. Change the keys and values, title, and everything else to whatever you'd like. It should be set as a selection box or radio.

In the Display Options tab, you'll want to select "Custom" for Listing View Format and Display View Format. That will display the text area where you can customize your tags.
listing-view.thumb.png.cf99c9ffe6243c7c7

{{if ($formValue == 'pending')}}
    <span class='ipsBadge ipsBadge_style3 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'resolved')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>{$label}</span>
{{endif}}

Add the above to both the Listing View Format and Display View Format. Change the $formValue depending on what keys you've used while setting up your General Options.

Posted

If i used Pending Fixed and Closed should it look like this:

{{if ($formValue == 'pending')}}
    <span class='ipsBadge ipsBadge_style5 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'fixed')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>{$label}</span>
{{endif}}

 

Posted

The proper format I needed was:

{{if ($value == 'pending')}}
    <span class='ipsBadge ipsBadge_style5 ipsPos_right'>Pending</span>
{{elseif ($value == 'fixed')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>Fixed</span>
{{elseif ($value == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>Closed</span>
{{endif}}

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...