Index: arms/html/reqReviewDetail/content-container.html
===================================================================
diff -u -raef7c00ba7b414e88bfe309d5cbc4181a006c8be -re33021be4097bbed332d5845a152c1f0629375b9
--- arms/html/reqReviewDetail/content-container.html (.../content-container.html) (revision aef7c00ba7b414e88bfe309d5cbc4181a006c8be)
+++ arms/html/reqReviewDetail/content-container.html (.../content-container.html) (revision e33021be4097bbed332d5845a152c1f0629375b9)
@@ -9,7 +9,7 @@
Index: arms/js/reqReviewDetail.js
===================================================================
diff -u -r1f93c83d8e3b9ae2d14ee59c49f21ee8f436b651 -re33021be4097bbed332d5845a152c1f0629375b9
--- arms/js/reqReviewDetail.js (.../reqReviewDetail.js) (revision 1f93c83d8e3b9ae2d14ee59c49f21ee8f436b651)
+++ arms/js/reqReviewDetail.js (.../reqReviewDetail.js) (revision e33021be4097bbed332d5845a152c1f0629375b9)
@@ -9,6 +9,50 @@
const info = {
title: "리뷰 bla bla bla bla bla",
+ history: [
+ {
+ updated: new Date().toISOString(),
+ description: "history summary 1",
+ value: 1,
+ },
+ {
+ updated: new Date().toISOString(),
+ description: "history summary 2",
+ value: 2,
+ },
+ {
+ updated: new Date().toISOString(),
+ description: "history summary 3",
+ value: 3,
+ },
+ {
+ updated: new Date().toISOString(),
+ description: "history summary 4",
+ value: 4,
+ },
+ {
+ updated: new Date().toISOString(),
+ description: "history summary 5",
+ value: 5,
+ },
+ ],
};
-function makeHistory() {}
+function makeHistory() {
+ const historys = document.querySelector(".review-history");
+
+ let lists = "";
+
+ info.history.forEach((item) => {
+ lists += `
+
+ ${item.description}
+
+
+ `;
+ });
+
+ historys.innerHTML = lists;
+}
+
+makeHistory();