Ignore:
Timestamp:
06/23/16 17:11:40 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Refine record search scope/permission so that users without the
location_view permission don't see that column in the record search
results. See #57.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/recsearch.tmpl

    r731 r735  
    5959<td><TMPL_VAR NAME=val></td>
    6060</TMPL_IF>
    61 <td><TMPL_VAR NAME=location></td>
     61<TMPL_IF mayloc><td><TMPL_VAR NAME=location></td></TMPL_IF>
    6262</tr>
    6363</TMPL_LOOP>
    6464<TMPL_ELSE>
    65 <tr><td colspan="5" align="center">No records found matching '<TMPL_VAR NAME=searchfor>'</td></tr>
     65<tr><td colspan="<TMPL_IF mayloc>6<TMPL_ELSE>5</TMPL_IF>" align="center">No records found matching '<TMPL_VAR NAME=searchfor>'</td></tr>
    6666</TMPL_IF>
    6767</table>
Note: See TracChangeset for help on using the changeset viewer.