Hey!

So I have this piece of code in my view file:
*<a href="{{=URL('kkm', 'kkm', vars={'kkm':row.id, 'client':curClient.id, 
'contract':curContract.id})}}">{{=row.model}}</a>*

There is nothing special or magical but if I try to print the page ... 
ooopppss ...I see this result:
*Some_model (/gemma/kkm/kkm? client=156&contract=596&kkm=107)* instead of 
*Some_model*

Say how can I get rid of link parameters in view when I click to print page?

PS
This is piece of my css file but itsn't work for me:
@media print {
  * { background: transparent !important; color: #444 !important; 
text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: none; }
  a:after { content: " (" attr(href) ")"; }
  @page { margin: 0.5cm; }
  }

Any ideas?!?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to