reduced latency, sticky note in therapy view
[confetti] / templates / prescriptions.html.sh
index a662c74..c4ef19a 100755 (executable)
@@ -31,19 +31,17 @@ cat <<EOF
     <button type="submit">$(l10n newprescription)</button>
   </form>
 </div>
+EOF
 
-$(list_prescriptions "$client" |grep -q "$edit" || edit_prescription "$edit")
-
-$(list_prescriptions "$client" \
-  |while read pre; do 
-    [ "$pre" = "$edit" ] \
-    && edit_prescription "$pre" \
-    || view_prescription "$pre"
-  done
-)
+list_prescriptions "$client" |grep -q "$edit" || edit_prescription "$edit"
 
-<!--h1>$(l10n prescriptions_past)</h1-->
+list_prescriptions "$client" \
+|while read pre; do 
+  [ "$pre" = "$edit" ] \
+  && edit_prescription "$pre" \
+  || view_prescription "$pre"
+done
 
-EOF
+#<!--h1>$(l10n prescriptions_past)</h1-->
 
 # vi:set filetype=html: