(a) Prior to the entry of a judgment ordering a child's transfer or during the pendency of an appeal of a judgment ordering a child's transfer, such child shall be detained only in those places authorized for the preadjudication detention of a child as set forth in Code Section 15-11-504.
(b) After the entry of a judgment ordering transfer, a child shall be detained only in those places authorized for the detention of a child until such child, as set forth in Code Section 15-11-34, reaches 17 years of age.