From 018d92a8a49e7e1a3a41ae87e24a9a8ba60619d6 Mon Sep 17 00:00:00 2001
From: Hannah Chow <hannah_chow@brown.edu>
Date: Sun, 10 Mar 2019 22:43:35 -0400
Subject: almost done

---
 src/client/views/nodes/LinkBox.tsx | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

(limited to 'src/client/views/nodes/LinkBox.tsx')

diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx
index 25556d5be..fcfb2fcb5 100644
--- a/src/client/views/nodes/LinkBox.tsx
+++ b/src/client/views/nodes/LinkBox.tsx
@@ -9,6 +9,7 @@ import { DocumentView } from "./DocumentView";
 import { Document } from "../../../fields/Document";
 import { ListField } from "../../../fields/ListField";
 import { DocumentManager } from "../../util/DocumentManager";
+import { LinkEditor } from "./LinkEditor";
 
 interface Props {
     linkDoc: Document;
@@ -60,22 +61,23 @@ export class LinkBox extends React.Component<Props> {
     render() {
 
         return (
-            <div className="link-container">
-                <div className="info-container">
-                    <div className="link-name">
-                        <p>{this.props.linkName}</p>
-                    </div>
-                    <div className="doc-name">
-                        <p>{this.props.type}{this.props.pairedDoc.Title}</p>
-                    </div>
-                </div>
+            <LinkEditor linkBox={this} />
+            // <div className="link-container">
+            //     <div className="info-container">
+            //         <div className="link-name">
+            //             <p>{this.props.linkName}</p>
+            //         </div>
+            //         <div className="doc-name">
+            //             <p>{this.props.type}{this.props.pairedDoc.Title}</p>
+            //         </div>
+            //     </div>
 
-                <div className="button-container">
-                    <div className="button" onPointerDown={this.onViewButtonPressed}></div>
-                    <div className="button" onPointerDown={this.onEditButtonPressed}></div>
-                    <div className="button" onPointerDown={this.onDeleteButtonPressed}></div>
-                </div>
-            </div>
+            //     <div className="button-container">
+            //         <div className="button" onPointerDown={this.onViewButtonPressed}></div>
+            //         <div className="button" onPointerDown={this.onEditButtonPressed}></div>
+            //         <div className="button" onPointerDown={this.onDeleteButtonPressed}></div>
+            //     </div>
+            // </div>
         )
     }
 }
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

