option to show sticky chat on screen, note i use a literal string, how am i supposed to add a l10n title?

This commit is contained in:
John McLear 2013-03-24 01:12:01 +00:00
parent af80e37ac7
commit 2e7a9796de
2 changed files with 14 additions and 2 deletions

View File

@ -559,6 +559,15 @@ table#otheruserstable {
margin: 4px 0 0 4px; margin: 4px 0 0 4px;
position: absolute; position: absolute;
} }
#titlesticky{
font-size: 10px;
padding-top:2px;
float: right;
text-align: right;
text-decoration: none;
cursor: pointer;
color: #555;
}
#titlecross { #titlecross {
font-size: 25px; font-size: 25px;
float: right; float: right;

View File

@ -369,14 +369,17 @@
<% e.end_block(); %> <% e.end_block(); %>
</div> </div>
<div id="chaticon" onclick="chat.show();return false;"> <div id="chaticon" onclick="chat.show();return false;" data-l10n-id="pad.chat">
<span id="chatlabel" data-l10n-id="pad.chat"></span> <span id="chatlabel" data-l10n-id="pad.chat"></span>
<span class="buttonicon buttonicon-chat"></span> <span class="buttonicon buttonicon-chat"></span>
<span id="chatcounter">0</span> <span id="chatcounter">0</span>
</div> </div>
<div id="chatbox"> <div id="chatbox">
<div id="titlebar"><span id ="titlelabel" data-l10n-id="pad.chat"></span><a id="titlecross" onClick="chat.hide();return false;">-&nbsp;</a></div> <div id="titlebar"><span id ="titlelabel" data-l10n-id="pad.chat"></span>
<a id="titlecross" onClick="chat.hide();return false;">-&nbsp;</a>
<a id="titlesticky" onClick="chat.stickToScreen(true);$('#options-stickychat').prop('checked', true);return false;" title="Stick chat to screen">&nbsp;&nbsp;</a>
</div>
<div id="chattext" class="authorColors"> <div id="chattext" class="authorColors">
<img alt="loading.." id="chatloadmessagesball" class="chatloadmessages" src="../static/img/loading.gif" align="top"> <img alt="loading.." id="chatloadmessagesball" class="chatloadmessages" src="../static/img/loading.gif" align="top">
<button id="chatloadmessagesbutton" class="chatloadmessages" data-l10n-id="pad.chat.loadmessages"></button> <button id="chatloadmessagesbutton" class="chatloadmessages" data-l10n-id="pad.chat.loadmessages"></button>