record.mdwn 600 B

123456789101112131415
  1. This is a template for [[!rel4sub darcs]] records. Parameters:
  2. - `repo`: Name of the Darcs repository (required)
  3. - `hashb`: The beginning of record's hash string, to be displayed (required)
  4. - `hashr`: The rest of the hash string (default: empty)
  5. - `label`: Optional text to show instead of the hash beginning (default: none,
  6. show hash beginning)
  7. [[!templatebody <<ENDBODY
  8. <a href="http://darcs.rel4tion.org/darcsweb.cgi?r=<TMPL_VAR repo>;a=commit;h=<TMPL_VAR hashb><TMPL_VAR hashr>">
  9. <TMPL_VAR repo> >>
  10. <TMPL_IF label><TMPL_VAR label><TMPL_ELSE><TMPL_VAR hashb></TMPL_IF>
  11. </a>
  12. ENDBODY]]