height="200"
id="svg2"
version="1.1"
- inkscape:version="0.48.4 r9939"
+ inkscape:version="0.91 r13725"
inkscape:export-filename="/home/tom/rails/app/assets/images/sprite.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
id="tspan3023"
x="264.8125"
y="869.62622">?</tspan></text>
+ <path
+ sodipodi:nodetypes="cccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path3386"
+ d="m 244,884.36218 0,-7 1,-1 10,0 1,1 0,7 -1,1 -3,0 -2,3 -2,-3 -3,0 z"
+ style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cccccc;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;enable-background:accumulate" />
</g>
</svg>
map.fire('baselayerchange', {layer: layer});
});
+ item.on('dblclick', toggle);
+
map.on('layeradd layerremove', function() {
item.toggleClass('active', map.hasLayer(layer));
input.prop('checked', map.hasLayer(layer));
.icon.close:hover { background-position: -200px -20px; }
.icon.check { background-position: -220px 0; }
.icon.note { background-position: -240px 0; }
+.icon.note.grey { background-position: -240px -20px; }
.icon.query { background-position: -260px 0; }
/* Rules for links */
color: #000;
}
}
+
+ .comments {
+ float: right;
+ color: #999;
+ }
+
+ .comments-0 {
+ opacity: 0.5;
+ }
}
/* Rules for the browse sidebar */
changesets = changesets.where("changesets.id <= ?", params[:max_id])
end
- @edits = changesets.order("changesets.id DESC").limit(20).preload(:user, :changeset_tags)
+ @edits = changesets.order("changesets.id DESC").limit(20).preload(:user, :changeset_tags, :comments)
render :action => :list, :layout => false
end
@user.terms_seen = true
if @user.save
- flash[:notice] = t "user.new.terms declined", :url => t("user.new.terms declined url")
+ flash[:notice] = t("user.new.terms declined", :url => t("user.new.terms declined url")).html_safe
end
if params[:referer]
flash[:error] = t "user.confirm_resend.failure", :name => params[:display_name]
else
Notifier.signup_confirm(user, user.tokens.create).deliver_now
- flash[:notice] = t "user.confirm_resend.success", :email => user.email
+ flash[:notice] = t("user.confirm_resend.success", :email => user.email).html_safe
end
redirect_to :action => "login"
<%= changeset.tags['comment'].to_s.presence || t('browse.no_comment') %>
</a>
</h4>
+ <div class="comments comments-<%= changeset.comments.length %>">
+ <%= changeset.comments.length %>
+ <span class="icon note grey"></span>
+ </div>
<div class="details">
<%= changeset_details(changeset) %>
·