Sha256: 19eba361483906b1741b5a39a4baa50feff4eb2c3a1ebccd18d597fadc6e675a

Contents?: true

Size: 288 Bytes

Versions: 53

Compression:

Stored size: 288 Bytes

Contents

import React from 'react';
import { cellFormatter } from 'foremanReact/components/common/table';

export const actionNameCellFormatter = url => (value, { rowData: { id } }) =>
  cellFormatter(
    <a href={`/${url}/${id}`} className="action-name-tasks-table">
      {value}
    </a>
  );

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
foreman-tasks-8.2.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.1.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.1.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.1.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.0.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.0.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-7.2.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-7.1.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-7.2.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-7.1.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-6.0.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-7.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-6.0.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.6 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.2.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-6.0.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.2.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-6.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.2.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js