Hi,

We recently fixed this problem. You'll need to upgrade to the latest version of 
Review Board. You should then be set to do the kinds of includes you want from 
.less files.

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Xy Sui <oswi...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: July 7, 2015 at 8:16:58 PM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  LESS build error when compiling extension egg for reviewboard 2.0.15

> Hi,
>  
> I'm trying to reuse some css style from reviewboard (version 2.0.15) in my
> extension.
>  
> My extension less file is like:
>  
> 1 @import (reference) "@{STATIC_ROOT}/rb/css/reviews.less";
> 2 #acceptance-summary-table {
> 3 #issue-summary-table;
> 4 thead th {
> 5 background:url("@{STATIC_ROOT}/rb/images/header_bg.png") repeat-x
> scroll left bottom rgba(0, 0, 0, 0);
> 6 &:hover {
> 7
> background:url("@{STATIC_ROOT}/djblets/images/datagrid/header_bg_primary.png")
>   
> repeat-x scroll left bottom ;
> 8 }
> 9 }
> 10 }
>  
> Without line 4-9, the background images even don't show in development env.
>  
> And I got LESS build failure when compiling extension egg. It's same if I
> remove line 4-9
> ValueError: The file 'djblets/images/datagrid/header_bg.png' could not
> be found with .
>  
> If checking the style of #issue-summary-table in
> reviewboard/static/rb/css/reviews.css, we could see such line:
>  
> 1720 #issue-summary-table thead th {
> 1721 background: url("../../djblets/images/datagrid/header_bg.png")
> repeat-x bottom left;
> .....
>  
> I also noticed the following in reviewboard 2.0.18 release note
>  
> - *Fixed packaging issues with Review Board static media files
> referenced by an extension’s CSS/LessCSS files.*
>  
>  
> Is it relevant with my build failure? If so, can you show me the git
> commit hash contains that fix?
>  
> Thanks.
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/  
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups 
> "reviewboard"  
> group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.  
> For more options, visit https://groups.google.com/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to