You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- $('#edit-file-dense-form-<%= @attachment.id.to_s%>').hide();
- $('#field_file_dense_id_label<%= @attachment.id.to_s%>').show();
- $('#edit_box_dense<%= @attachment.id.to_s%>').show();
- <%if @attachment.is_public == 1%>
- $('#field_file_dense_id_label<%= @attachment.id.to_s%>').html('公开');
- <%else%>
- $('#field_file_dense_id_label<%= @attachment.id.to_s%>').html('私有');
- <%end%>
- // 下面2种写法都没起作用,暂时使用上面的非本地化模式
- // <%if @attachment.is_public == 1%>
- // $('#field_file_dense_id_label<%= @attachment.id.to_s%>').html('<%l(:field_is_public)%>');
- // <%else%>
- // $('#field_file_dense_id_label<%= @attachment.id.to_s%>').html('<%l(:field_is_private)%>');
- // <%end%>
- // $('#field_file_dense_id_label<%= @attachment.id.to_s%>').html(<%=@newfiledense%>);
|