Changeset 1308


Ignore:
Timestamp:
Mar 4, 2011, 12:34:34 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #291: Personal information registration

Added a warning message if no project is active.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/persinfo.jsp

    r1307 r1308  
    553553}
    554554
    555 .prompt
     555.stepfields .prompt
    556556{
    557557  width: 150px;
     
    560560}
    561561
    562 .input
     562.stepfields .input
    563563{
    564564  width: 250px;
     
    566566}
    567567
    568 .status
     568.stepfields .status
    569569{
    570570  width: 30px;
     
    572572}
    573573
    574 .help
     574.stepfields .help
    575575{
    576576  background: #e0e0e0;
     
    580580}
    581581
    582 .message
     582.stepfields .message
    583583{
    584584  color: #cc0000;
     
    611611    <p:pathelement title="Personal information registration" />
    612612  </p:path>
     613
     614  <%
     615  if (sc.getActiveProjectId() == 0)
     616  {
     617    %>
     618    <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     619      No project has been selected. You may proceed with the registration but
     620      created items will not be shared.
     621    </base:note>
     622    <%
     623  }
     624  %>
    613625
    614626  <form name="reggie" onsubmit="return false;">
Note: See TracChangeset for help on using the changeset viewer.