@@ -303,3 +289,23 @@ const DocumentListPage = ({ perPage }) => {
};
export default DocumentListPage;
+
+/*
+
+ */
diff --git a/src/Components/Modals/UploadModal.js b/src/Components/Modals/UploadModal.js
index f0cdf9b..3c4ecca 100644
--- a/src/Components/Modals/UploadModal.js
+++ b/src/Components/Modals/UploadModal.js
@@ -78,7 +78,7 @@ const UploadModal = (props) => {
parentCaseName: `${caption} v. ${captionTwo}`,
parentCaseNumber: caseNumber,
parentCaseJurisdiction: jurisdiction,
- responseGenerations: 0,
+ responseGenerations: 1,
};
if (radioValue === "complaint") {
diff --git a/src/pageElements/Cards.js b/src/pageElements/Cards.js
index 5fbf10b..3136829 100644
--- a/src/pageElements/Cards.js
+++ b/src/pageElements/Cards.js
@@ -290,10 +290,9 @@ export const DocCard = (props) => {
const report = (documentId, docType) => {
//console.log("report documentId, docType", documentId, docType);
};
- console.log(
- ">>>>>>>>>>>>>>>>>>>>>>>>>>>________------------------------------------__>docType",
- docType
- );
+
+ const isOutbound =
+ responseGenerations > 0 && docType === "interrogatories-out";
return (
@@ -356,7 +355,11 @@ export const DocCard = (props) => {
)
}
labelText={
- responseGenerations > 0 ? "Edit Response" : "Generate Response"
+ isOutbound
+ ? "Edit Request"
+ : responseGenerations > 0
+ ? "Edit Response"
+ : "Generate Response"
}
/>
diff --git a/src/styles/doclist-page.scss b/src/styles/doclist-page.scss
index ca5eae5..b9450df 100644
--- a/src/styles/doclist-page.scss
+++ b/src/styles/doclist-page.scss
@@ -61,10 +61,26 @@
.list-upper-left {
display: flex;
flex-direction: row;
- justify-content: flex-end;
+ justify-content: left;
width: 95%;
}
+.doc-list-subhead-container {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-left: 12px;
+ margin-top: auto;
+ margin-bottom: auto;
+ padding-bottom: 12px;
+}
+
+.doc-list-subhead {
+ font-family: Roboto;
+ font-size: 1.18rem;
+ font-weight: 400;
+}
+
.toggle-outer {
display: flex;
flex-direction: column;