Ignore:
Timestamp:
05/25/15 18:25:20 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Cleanup while rechecking merge-to-container in UI:

  • Move descriptive strings for merge scopes into a hash in IPDB.pm, so we don't have to update them everywhere every time they might change... now that most of the changes are done, of course.
  • Refiddle listForMerge's freeblock branch to show only direct children, or all free blocks depending on another optional argument.
  • Render previous point pointless due to dropping freeblocks from the return list of merged blocks anyway, because Confusion.
  • Force scope as well as type when merging a master block. Merging any other type in a way that happens to intersect a master remains undefined.
  • Make sure to capture the blocks merged/deleted for return.
  • Fix up some variable names for consistency.
  • Fix stupid typo missed in r732.

See #8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/confmerge.tmpl

    r727 r733  
    4343</td>
    4444</tr>
    45 <tr>
    46 <td>Existing freeblocks to merge under new allocation:</td>
    47 <td>
    48 <TMPL_LOOP NAME=mergefree><TMPL_VAR NAME=cidr><br>
    49 <input type="hidden" name="fid<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id>">
    50 </TMPL_LOOP>
    51 </td>
    52 </tr>
    5345
    5446<TMPL_IF iscontainer>
Note: See TracChangeset for help on using the changeset viewer.