Grey out username text field for bugs when logged in.
This commit is contained in:
parent
85984128b1
commit
4a23ee8baf
2 changed files with 32 additions and 5 deletions
|
@ -25,7 +25,7 @@
|
|||
<div id="permalink">
|
||||
<a href="/" id="permalinkanchor"><%= t 'site.index.permalink' %></a><br/>
|
||||
<a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a><br/>
|
||||
<a href="javascript:void()" id="ReportBug">Report a problem</a>
|
||||
<a href="javascript:void();" id="ReportBug">Report a problem</a>
|
||||
</div>
|
||||
|
||||
<div id="attribution">
|
||||
|
@ -129,6 +129,10 @@ end
|
|||
|
||||
OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
|
||||
|
||||
<% if @user %>
|
||||
var loginName = "<%= @user.display_name %>"
|
||||
<% end %>
|
||||
|
||||
function createBugCallBack() {
|
||||
map.osbControl.deactivate();
|
||||
document.getElementById("OpenLayers.Map_18_OpenLayers_Container").style.cursor = "default";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue