Patch title: Release 85 bulk changes
Abstract:
File: /pliant/fullpliant/component.page
Key:
    Removed line
    Added line
   
module "/pliant/language/stream.pli"
module "computer.pli"


table columns 3
  cell header
    [Component name]
  cell
    void
  cell
    void
  each c computer_database:data:component
    cell
      fixed (text keyof:c)
    cell
      page button "Edit"
module "/pliant/language/stream.pli"
module "computer.pli"


table columns 3
  cell header
    [Component name]
  cell
    void
  cell
    void
  each c computer_database:data:component
    cell
      fixed (text keyof:c)
    cell
      page button "Edit"
        if not allowed:"administrator"
          read_only_mode := true
        read_only not allowed:"administrator"
        title "Component '"+keyof:c+"'"


if allowed:"administrator"
  input "Component name: " (var Str cid) noeol
  button "Create the new component" noeol
    computer_database:data:component create cid
    reload_page
  button "Delete the component"
    computer_database:data:component delete cid
    reload_page
        title "Component '"+keyof:c+"'"


if allowed:"administrator"
  input "Component name: " (var Str cid) noeol
  button "Create the new component" noeol
    computer_database:data:component create cid
    reload_page
  button "Delete the component"
    computer_database:data:component delete cid
    reload_page