replace visible text on inclusions of no-permissions cards

Ticket

replace visible text on inclusions of no-permissions cards+status
replace visible text on inclusions of no-permissions cards+priority
replace visible text on inclusions of no-permissions cards+tag
replace visible text on inclusions of no-permissions cards+commit
 

replace visible text on inclusions of no-permissions cards+issues

Right now, where a card is included that you don't have permission to see, you get a message like, "Sorry, you don't have permission to see |card|".

 

replace visible text on inclusions of no-permissions cards+solution

Surround that message with a <span class="denied"> in the HTML so that someone who does view source gets the same info (but without naming the missing card).

 

note: this is only on inclusions. the message still shows up if the slot is for the main card on the page.

 

replace visible text on inclusions of no-permissions cards+example

You can't see this:

 

 

looks like this is done, huh? is this the same as the "eliminate" one in the taglist?


Wagn's putting span class="denied" around the message, and the css is disappearing that here in the example card, but not in *sidebar - i added Developer Menu to *sidebar, signed out, and saw the message.

Yes, it's the same. Merged content and deleted the other one.

--John Abbe.....Mon Jul 14 01:06:55 -0700 2008


Committed revision 682
r683 also improves error reporting from view actions.

--Lewis Hoffman.....Tue Jul 15 15:23:48 -0700 2008


It works - woohoo! I ut the Developer Menu back in the sidebar. The only reason i didn't close is, it names the missing card in the span - is that what we want?

--John Abbe.....Mon Jul 21 08:49:54 -0700 2008


You're right- it saws not to show the name in the description. I committed a patch for that- won't redo release for that but it will come out in 0.10.1

  --Lewis Hoffman.....Mon Jul 28 09:03:47 -0700 2008