On Thursday, December 17, 2015 at 6:49:31 AM UTC-8, Ahmed M. wrote:
>
>
>
> On Tuesday, December 15, 2015 at 6:29:42 PM UTC-5, RjOllos wrote:
>>
>>
>>
>> On Tue, Dec 15, 2015 at 3:16 PM, Ahmed M. <[email protected]> wrote:
>>
>>> One thing I could use some help on is customizing the box that has the 
>>> ticket mover button and combo box. ticketmover-sidebar.html doesn't have 
>>> any references to a css style sheet. there is a style sheet in 
>>> "C:\trac\hwtrac\htdocs\common\css\ticket-sidebar.css" but changing that 
>>> doesn't make any difference. Any thoughts on that? 
>>>
>>> Ahmed
>>>
>>
>> The outer div has class "sidebar", so you could add rules to a custom 
>> stylesheet.
>> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
>>
> *I tried that but didn't have any luck. I still need to do some reading on 
> that. I tried adding the css style inline with the html code in the 
> template and it worked just fine *
>

Simplified steps that should work:
1. Add the site.html given in [1] to your environment (or a shared) 
templates directory.
2. Create an empty style.css in your environment (or a shared) htdocs 
directory.
3. Refresh static resources [2].
4. Restart web server.

You should then be able to navigate to any page on your site, see a link to 
style.css in the HTML source code, and open the style.css file. If that 
works, then you can repeat by editing style.css and refreshing static 
resources.

[1] http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
[2] http://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources
 

> * I have one question though, how do I prevent the drop-down menu from 
>> showing the current project? I tried to move a ticket to the same project 
>> and it worked - is there a way I can remove the current project from the 
>> list?*
>>
>
I assume you are running the latest version of ticket mover, or at least 
[15109] committed on 2015-12-10. The program logic should prevent the 
current project from being added to the list:
https://trac-hacks.org/browser/ticketmoverplugin/trunk/ticketmoverplugin/web_ui.py?rev=15109&marks=65#L57
and that seems to work according to testing I've done on Mac OSX. So I'm 
unsure what could be different in your case, but I imagine it must have 
something to do with the path representation on Windows.

Maybe we need to use normpath [1] in the comparison, since it's already 
used for env_path [2]:

env_path != os.path.normpath(self.env.path)

[1] https://docs.python.org/2/library/os.path.html#os.path.normpath
[2] 
http://trac.edgewall.org/browser/tags/trac-1.0.9/trac/web/main.py?marks=773#L751

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to