help
This commit is contained in:
parent
9c51088b12
commit
a8c8af93fb
|
@ -66,6 +66,8 @@
|
|||
</div>
|
||||
|
||||
<div id="package_info" class="package">
|
||||
<p id="pi_edit_help">Unfocusing an edit field or pressing enter
|
||||
submits a change update asynchronously.</p>
|
||||
<table>
|
||||
<tr><td>Package Name:</td><td><span id="pi_name"></span></td></tr>
|
||||
<tr><td>Ring:</td><td><span id="pi_ring"></span></td></tr>
|
||||
|
|
|
@ -49,6 +49,11 @@ $( document ).ready(function() {
|
|||
|
||||
var mypkg_p = ($.inArray(me(), pkgi['authors'] ) != -1);
|
||||
|
||||
if ( mypkg_p || true ) {
|
||||
$("#pi_edit_help").show(); }
|
||||
else {
|
||||
$("#pi_edit_help").hide(); }
|
||||
|
||||
function make_editbutton ( spot, initv, fun ) {
|
||||
if ( mypkg_p ) {
|
||||
$( "#" + spot ).append( $('<button>')
|
||||
|
|
|
@ -167,6 +167,11 @@ a.possible {
|
|||
color: red;
|
||||
}
|
||||
|
||||
#pi_edit_help {
|
||||
text-align: center;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
tr#pi_delete_row td {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user